It's an API that makes appointments for a barber shop.
Technologies Used |
How to run the API |
How to contribute |
License
It’s an API that makes appointments for a barber shop.
Services:
git clone https://github.com/RuthMaria/GoBarber-backend.git
docker run --name gostack_postgres -e POSTGRES_PASSWORD=docker -p 5432:5432 -d postgres
docker start gostack_postgres
Open the Dbeaver and create a new connection with Postgres. Change the port to 5432 and in the password, you type “docker”, as you have defined above when create a postgres image on docker.
After that, create a new database in your postgres connection inside Dbeaver. Write “gostack_gobarber” in the database name.
Install dependencies
yarn
yarn typeorm migration:run
yarn dev:server
yarn test
git checkout -b my-feature
git commit -m 'feat: My new feature'
git push origin my-feature
This project is under the MIT license. See the file LICENSE for more details.