Build Node.js APIs from the command line
Install wily globally: npm install -g wily
Once installed, a new API can be created by calling wily init
, like so:
API Architecture | Framework | Database | ORM | ODM | Authentication | Validation | Testing |
---|---|---|---|---|---|---|---|
REST | Express | MySQL | Knex.js | JWT | Joi | Mocha | |
hapi | Jest |
If you're interested in contributing to this project, then THANK YOU! I appreciate your interest :) You can contribute to this project by working on any of the open issues. You can also see which issues are not in progress on the development board.
Lastly, I am here to help. Please reach out with any questions. I appreciate all contributions no matter how big or small.
- Fork & clone this project
- Next, you will need to Install TypeScript
- That's it! Now you can compile this project in watch-mode by running
tsc -w
- Run
cp tests/apis/.env.sample tests/apis/.env
to create a copy of the dotenv sample file for tests - Fill out the newly created dotenv file with your own values & credentials (e.g. database hosts, users and passwords)
- Run
npm test
NOTE: Do not modify tests/apis/.env.sample
as it can expose your personal credentials if you include it in your commits