Skip to content

Production ready REST API boilerplate using Express and TypeScript

License

Notifications You must be signed in to change notification settings

rtewari056/node-typescript-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ultimate Express and TypeScript Authentication API Boilerplate for production use

🖥️ Tech Stack

Backend:

Node JS  Express JS  TypeScript  JWT 

Database:

MySQL 

⚡️ Features

  • Register & login user
  • Verify user's email address
  • Passwords are encrypted
  • Send forgot password email
  • Reset password
  • Access and refresh token based authentication
  • Schema validation

📖 Prerequisites

In order to run the project you need node>=16, npm>=8 and MySQL>=8.0 installed on your machine.

🚩 Getting Started

1. Clone the node-typescript-boilerplate repository:

git clone https://github.com/rtewari056/node-typescript-boilerplate.git

2. Navigate into repo:

cd node-typescript-boilerplate

3. Install package dependencies

npm install

4. Rename .env.example into .env and put all creadentials.

5. Go to src/keys folder and generate OpenSSL RSA key pair by running the bash script in your terminal

6. Run project:

In the root directory, open a terminal session and run:

npm run serve:dev

7. Open your browser and go to http://localhost:5000

👤 Developer

Rohit Tewari

📬 Contact

If you want to contact me, you can reach me through below handles.

LinkedIn Gmail Twitter

📃 License

Node TypeScript Authentication API Boilerplate is licensed under the MIT License.

Show your support by 🌟 the project

About

Production ready REST API boilerplate using Express and TypeScript

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published