Backend service for the Gimnasio-Vue app.
npm i
Postgres offers a cli tool to create the database we need:
psql postgres
CREATE ROLE coco WITH LOGIN PASSWORD 'coco';
CREATE DATABASE gimnasio;
GRANT ALL PRIVILEGES ON DATABASE gimnasio TO coco;
\quit
If you want to change the name of any of these settings, you must change the database configuration in this file
Then:
npm run db:setup
npm run db:examples
npm start
npm test
Or:
npm run db:test
npm run api:test
This project is licensed under the MIT License - see the LICENSE.md file for details