Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

astrotars/boilerplate-express-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boilerplate Express API (REST)

🔋Boilerplate Express API (REST) w/ Support for ES6 Features

Getting Started

Step 1

git clone [email protected]:nparsons08/boilerplate-express-api.git api

Step 2

cd api && yarn build && yarn start

Step 3

open https://localhost:3000

Building

All code lives in the /src directory. To build the API, run yarn build from the root of the directory. This will call build.sh and transpile all E6S JavaScript to vanilla JavaScript. The transpiled code will then be in the /dist directory.

Running the API

To run the API, use yarn start from the root of the directory. The API will spin up on port 3000 and provide you with feedback in the terminal.

Docker Support

To build a Docker image and launch it, all you have to do is run ./Docker.sh. Note: Make sure to run yarn build prior to building your Docker image.

Blog Posts

Coming Soon!

Happy Coding!