O objetivo desse projeto é simular uma rede social baseado no twitter
Projeto backend: https://github.com/bc-fullstack-03/Gustavo-lucena-backend
- projeto backend
- localstorage
- mongodb
- Cadastro de usuarios
- login de usuário utilizando token
- publicar posts
- listar posts
- listar usuários
- seguir usuários
- upload de imagens
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.
- Install the CLI:
npm i -g expo-cli
- Create a project:
npx create-react-native-app -t with-typescript
cd
into the project
- Create a blank TypeScript config:
touch tsconfig.json
- Run
yarn start
ornpm run start
to automatically configure TypeScript - Rename files to TypeScript,
.tsx
for React components and.ts
for plain typescript files
💡 You can disable the TypeScript setup in Expo CLI with the environment variable
EXPO_NO_TYPESCRIPT_SETUP=1 expo start