A delightful way to building a Node.js RESTful API Services with beautiful code written in Vanilla Javascript
A delightful way to building a Node.js RESTful API Services with beautiful code written in Vanilla Javascript. Inspired by the awesome framework & other repo(s) on Github, Gitlab, Gitee,... Made with ❤️ by Tran Toan
My main goal with this project is a feature complete server application. I like you to be focused on your business and not spending hours in project configuration.
Try it!! I'm happy to hear your feedback or any kind of new features.
You need to set up your development environment before you can do anything.
Install Node.js and NPM
brew install node
choco install nodejs
Install yarn globally
npm install --global yarn
Fork or download this project. Configure your package.json for your new project.
Then copy the .env.example
file and rename it to .env
. In this file you have to add your database connection information.
Create a new database with the name you have in your .env
-file.
Then setup your application environment.
yarn install
This installs all dependencies with yarn. After that your development environment is ready to use.
Go to the project dir and start your app with this yarn script.
yarn dev
This starts a local server using
nodemon
, which will watch for any file changes and will restart the server according to these changes. The server address will be displayed to you ashttp://localhost:3000
[default].
Contributions are more than welcome! Please check out the contributing guide.