Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeffascript/incidentar
React Native App for BM in reporting incidents
https://github.com/jeffascript/incidentar
Last synced: 10 days ago
JSON representation
React Native App for BM in reporting incidents
- Host: GitHub
- URL: https://github.com/jeffascript/incidentar
- Owner: jeffascript
- Created: 2021-05-28T13:27:36.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-27T05:12:36.000Z (almost 2 years ago)
- Last Synced: 2024-11-15T06:15:13.261Z (2 months ago)
- Language: TypeScript
- Homepage:
- Size: 1.02 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [TypeScript Example](https://www.typescriptlang.org/)
```sh
npx create-react-native-app -t with-typescript
```TypeScript is a superset of JavaScript which gives you static types and powerful tooling in Visual Studio Code including autocompletion and useful inline warnings for type errors.
## 🚀 How to use
#### Creating a new project
- Install the CLI: `npm i -g expo-cli`
- Create a project: `expo init --template expo-template-blank-typescript`
- `cd` into the project### Adding TypeScript to existing projects
- Create a blank TypeScript config: `touch tsconfig.json`
- Run `expo start` to automatically configure TypeScript
- Rename files to TypeScript, `.tsx` for React components and `.ts` for plain typescript files- [Expo TypeScript guide](https://docs.expo.io/versions/latest/guides/typescript/)
## 📝 TODO
- [x] Login and Register Screens
- [x] Redux
- [x] Posts and Profile Screens
- [x] Logout
- [x] Fetch an Make Posts
- [ ] Admin perspective > assign admin role to a user, set status...
- [ ] Add the comment count on the post
- [ ] Fix the input box for adding a comment