Skip to content

Maerus1/dans-javascript-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dans Javascript API

A simple API made with NodeJS using Express.

Important credit

When I was learning how to put an API together in this manner, I followed this guide: https://www.toptal.com/nodejs/secure-rest-api-in-nodejs

I used his skeleton as a starting point and I modified it over time to serve my needs.

A couple of big differences are that I use bcrypt for hashing and I create my refresh token and my access token in two separate middleware functions.

Getting started

Copy the environment.template.js file and rename it to remove the template portion. Then fill in the information as required. The API is then good for use.

About

My implementation of an express api for educational purposes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published