About | Requirements | Start | Node.js | ReactJS | React Native
This repository contains an API REST in Node.js, web application in React JS and a mobile app in React Native. All applications developed in Typescript.
Node.js: is a REST API that does all the CRUD of the application, data persistence, exception handling and that serves data to both the front-end and the mobile.
ReactJS: application web where the user make appointments and manager your profile..
React Native: similar the web application, the mobile app have all features the application web beyond create appointments and list your appointments.
- Have Git to clone the project.
- Have Node.js installed.
- Have Yarn installed.
- Have Docker running a container PostgreSQL, Redis and MongoDB.
- Have a mobile device or emulator iOS or Android
# Clone the project:
$ git clone https://github.com/leandro-oliveira83/goBarber.git
# Entry on directory:
$ cd goBarber
# Entry on directory go-barber-mobile:
$ cd go-barber-mobile
# Install all dependencies:
$ yarn
# Run migrations:
$ yarn typeorm migration:run
# Run application:
$ yarn dev:server
# Entry on directory go-barber-web:
$ cd go-barber-web
# Install all dependencies:
$ yarn
# Run application:
$ yarn start
# Entry on directory go-barber-mobile:
$ cd go-barber-mobile
# Install all dependencies:
$ yarn
# Run application:
$ yarn ios ou yarn android