GoBarber backend project made with NodeJS + TypeScript. At the level 04 of Bootcamp GoStack 11.
Project completed on 2020-xx-xx.
# 1. Install dependencies
yarn install
# 2. Create files .env and ormconfig.json, see example files
# 3. Create Postgres container with Docker
docker run --name rocketseat-bootcamp-gostack-11-gobarber -e POSTGRES_PASSWORD=docker -p 5432:5432 -d postgres
# 4. Create Postgres database using any GUI or command line
CREATE DATABASE gobarber;
# 5. Create MongoDB container with Docker
docker run --name db-mongodb -p 27017:27017 -d -t mongo
# 6. Create Redis container with Docker
docker run --name redis -p 6379:6379 -d -t redis:alpine
# 7. Execute migrations
yarn typeorm migration:run
# 8. Run application
yarn dev:server
Access the URL in your browser http://localhost:3333
This project is under the MIT license. See the LICENSE for more information.
Made with ♥ by 👨🚀 Guilherme Bezerra 👋 Get in touch!