This app was bootstrapped with Imagine.ai 💛
Imagine.ai is an app starter on steroids!
- Start a MySQL database server on your machine or in the cloud.
- Set the following environment variables in your .env file
MYSQL_HOST=<address-where-database-running>
MYSQL_PORT=<port-where-database-running>
MYSQL_USER=<username-for-database>
MYSQL_DATABASE=<database-name>
MYSQL_PASSWORD=<password-to-database>
// root password is only needed if using docker
MYSQL_ROOT_PASSWORD=<root-password-to-database>
DB_DIALECT=mysql
- Install packages and start the application server.
$ yarn install
$ yarn start
- Go to http://localhost:8000/swagger to see Swagger documentation for API endpoints.
- Run the APIs by clicking the "Try it now" button on the Swagger page.
Go to http://localhost:8000/admin
$ yarn test
$ yarn coverage
$ yarn lint
$ yarn format
- Learn more about:
- the Node architecture choices used.
- the best practices followed.
- Imagine is in beta - here are the known issues that we are working to fix.