This is an example of an API that includes some common routines used to manage a gym.
- Node.js
- ORM Sequelize
- Postgres
To clone and run this application, you will need:
After installing postgres create a new database called "gympoint"and edit the file "src/config/database.js" with your database credentials.
From your command line:
# Clone this repository:
$ git clone https://github.com/Kelvinmti/GymPointAPI.git# Go into the repository:
$ cd GymPointAPI# Install dependencies with yarn:
$ yarn# Run the database migrations using sequelize, to create the tables:
$ yarn sequelize db:migrateNow you are ready to start e test the API.
From your command line:
# Start the server
$ yarn start