This project consists of an API for a clinic to manage psychologists, patients and medical records.
- Node.js
- Express.js
- Sequelize ORM
- MySQL
- Login (JWT Authentication)
- Dashboard
- Psychologists CRUD
- Patients CRUD
- Appointments CRUD
View the documentation on Vercel.
La Vie's API was deployed on Heroku. See API documentation for acessing online routes.
To run this project locally, you'll need Git, Node and MySQL installed on your computer.
After cloning project, remember to insert your local database credentials into src/config/database.js.
# Clone this repository
$ git clone https://github.com/pedrofnts/la-vie.git
# Go into the repository
$ cd la-vie
# Install dependencies
$ npm install
# Create database
$ npx sequelize db:create
# Run migrations
$ npx sequelize db:migrate
# Run server
$ npm run dev
# running on port 8000