Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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`