Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arshadkazmi42/express-app
Basic code setup for writing REST api using express
https://github.com/arshadkazmi42/express-app
api boilerplate compose-express compose-express-app create-express-app express express-app rest
Last synced: 7 days ago
JSON representation
Basic code setup for writing REST api using express
- Host: GitHub
- URL: https://github.com/arshadkazmi42/express-app
- Owner: arshadkazmi42
- Created: 2019-06-15T18:09:13.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-13T15:33:39.000Z (over 5 years ago)
- Last Synced: 2024-10-28T03:17:13.001Z (about 2 months ago)
- Topics: api, boilerplate, compose-express, compose-express-app, create-express-app, express, express-app, rest
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# express-app
Boiler plate for REST API in express. Ready to use basic express setup
## Setup
1. Run `npm install` in root directory
2. To start the api server `node server.js`## Route (Dummy)
- `api/compose/express/app`
- Details about the api
## Usage
- Clone this repository
- Add your routes in `server.js`
- Define your controllers in `controllers/` directory
- Write all your library (utility) functions in `lib` directory
- Write all unit tests in `tests` directory
- Modify details in `package.json` based on the project you will be building
- You can change the default post `8000` to anything you want in `server.js`