Skip to content

Minimal starter project for a Node.js RESTful API based off express generator

License

Notifications You must be signed in to change notification settings

NotKaskus/express-api-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express Template Boillerplate RestfullApi

made-with-nodejs made-with-expressjs Ask Me Anything ! GitHub license GitHub issues

GitHub pull-requests PRs Welcome

How To use

Clone this repository via https:

https://github.com/KASKUS/express-api-template.git

Core Stack

Feature

  1. Error Handling
  2. Custom message api response

How To run

Run manualy

  • via yarn or npm :
# install package
npm install or yarn install

#  running app
npm run start or yarn run start

# running server tetsing
npm run dev or yarn run dev

Project Structure

├── src/                  	 * all source code in here
	└── config/           	 * all configuration file here
	|  └── settings.js      * configuration database
	└── middleware          * all file handlers here
	└── routes/           	 * all file route here
	|   └── index.js            	* register all route
	|   └── v1/      	    	* register all api route
	|      └── canvas/          	    	* all the canvas routes
	|      └── info/     	                * all the info routes
	|      └── index.js     	        * register canvas and info routes to api route
	└── app.js/           	 * the entry point of the Express application
	└── server.js            * this file starts your web server.
	└── utils/            	 * all utils file here

About

Minimal starter project for a Node.js RESTful API based off express generator

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published