Manage you Barbershop with this API!
Explore the docs »
Report Bug
·
Request Feature
Table of Contents
Manage you Barbershop with this API
Features:
-
Route to authenticate a provider
-
Route to register a new provider
-
Route to show a provider's profile
-
Route to update a provider's avatar
-
Route to update a provider's profile
-
Route to forgot a password
-
Route to reset a password
-
Route to create an appointment
-
Route to list the day availability
-
Route to list the month availability
-
Route to list the providers
-
Route to list the providers' appointments
- Node JS
- TypeScript
- Express JS
- Docker
- TypeORM
- PostgreSQL
- MongoDB
- Redis
- Bcryptjs
- Handlebars
- Nodemailer
- AWS SDK
- Celebrate
- JSON Web Token
- Tsyringe
- Multer
- Reflect Metadata
-
npm
npm install npm@latest -g
-
yarn
npm install --global yarn
- Clone the repo
git clone https://github.com/jennifertakagi/go-barber-api.git
- Install packages
yarn | npm install
- Create a Postgress docker image with the following command and options:
docker run --go-commerce foo -e POSTGRES_PASSWORD=docker -p 5432:5432 -d postgres
4. Create a MongoDB docker image with the following command and options:
```sh
docker run --name mongodb -p 27017:27017 -d -t mongo
- Create a Redis docker image with the following command and options:
docker run --name redis -p 6379:6379 -d -t redis:alpine
6. Run database migrations
```sh
yarn typeorm migration:run | npm run typeorm migration:run
- Run the local environment
yarn dev:server | npm run dev:server
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Jennifer Takagi - @jennitakagi