npm i xest -g
xx <app-name-goes-here>
The above command will create your new api project then install requied packages and start your database. Please note in the project directory you will find many usefull utils, packages and middlewares.
You can start building your costum database architecturefrom database-schema.sql
. Please remember to alter your seed-schema.sql
accordingly to match with your database. This will automatically write your mock data into database in the following steps.
Please note xest framework has already got a few endpoints prepared for you to get you going. just start looking for users in the route.js file and follow upto query to get the idea.
xx run
xx fresh
Xest framework gives you the flexibility to write your routes, controllers actions and query by using cli. It will aitomaticaly create the
Start building your queries by writing the following command in your cli and pick the required options.
xx new
Generate your mock data by writing the following command in your cli and pick the required options.
xx new
->seed