Technologies | Getting started | How to contribute | License
This project was developed with the following technologies:
Extras:
- Main Libs
- Style
These instructions will get you a copy of the full project up and running on your local machine for development and testing purposes.
The project is developed using Git. Git is a free and open source distributed version control system. Download Git.
The project can be built with npm or Yarn, so choose one of the approach bellow in case you don't have any installed on your system.
- npm is distributed with Node.js which means that when you download Node.js, you automatically get npm installed on your computer. Download Node.js.
- Yarn is a package manager built by Facebook Team and seems to be faster than npm in general. Download Yarn.
You can obtain the project by running the instruction bellow on your terminal:
git clone https://github.com/diegomais/gobarber.git
The project uses PostgreSQL, MongoDB and Redis.
We recommend use Docker to install and run the databases and services above.
- Install Docker Desktop.
- Start a PostgreSQL instance:
docker run --name gobarber-pg -e POSTGRES_PASSWORD=mysecretpassword -p 5432:5432 -d postgres
- Start a MongoDB instance:
docker run --name gobarber-mongo -p 27017:27107 -d mongo
- Start a Redis instance:
$ docker run --name gobarber-redis -p 6379:6379 -d redis
Run the instructions bellow inside packages/api
directory:
npm install
npm run dev
or
yarn install
yarn dev
Run the instructions bellow inside packages/web
directory:
npm install
npm start
or
yarn install
yarn start
Follow the instructions for React Native CLI available in the official React Native Documentation.
Run the instructions bellow inside packages/mobile
directory:
npm install
npm start
or
yarn install
yarn start
- Fork this repository;
- Create a branch with your feature:
git checkout -b my-feature
; - Commit your changes:
git commit -m '[feat](scope) My new feature'
; - Push to your branch:
git push origin my-feature
.
After the merge of your pull request is done, you can delete your branch.
This project is under the MIT license. See the LICENSE for more details.
Made with ❤️ by Diego Mais 👋.