Task Manager and Git Workflow
Need to install docker and docker compose Installation Guide
- Build container image:
docker-compose up -d
Fixed with docker/compose#4950 (comment)
Install locally MySql https://dev.mysql.com/downloads/mysql/
Install node: https://nodejs.org/en/download/
Setup a database with the name you desire either through a shell or in mysql workbench.
inside of /config/datastores.js change url to your current settings.
After this is done run npm install, and then run npm run start.
Check the files in models to find out how the database is setup if you want to see how the input to the endpoints is handled look controllers folder, both of this folders are located inside the api folder.
to check the end points of the specific controller check the corresponding action on the routes file found on the config folder in the root folder of the app.
Here are some links that might be helpful https://sailsjs.com/documentation/concepts/actions-and-controllers https://sailsjs.com/documentation/concepts/models-and-orm/attributes https://sailsjs.com/documentation/concepts/models-and-orm/associations
if you encounter the client does not support authentication error check this link https://stackoverflow.com/questions/50093144/mysql-8-0-client-does-not-support-authentication-protocol-requested-by-server
Access control this is handled through policies file inside the config folder.