Middleware layer implementing API connection to databases and authentication
- Node.js
- Express.js
- And others...
Ensure you have the following installed on your local machine.
-
Clone repository
- git clone https://github.com/BanTheBad/middleware.git - cd middleware - npm install
-
Create/configure a
.env
file with your credentials. A sample.env.example
file has been provided to get you started. Make a duplicate of.env.example
and rename to.env
, then configure your credentials. -
Two
npm
scripts are available to spin up the server:npm run dev
spins up the server and watch for file changesnpm run dev:debug
spins up the server and attaches a debugger to it