Skip to content

A secure Node.js API with Express, Prisma, MongoDB, and JWT for efficient management of product updates.

Notifications You must be signed in to change notification settings

UtsavSoftrefineTech/NodeExpress-Prisma-Mongo-TS-JWT-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeExpress API with Prisma, MongoDB, and JWT Authentication

Welcome to the NodeExpress API project, a powerful solution for building RESTful APIs using Node.js, Express, Prisma ORM, MongoDB, and JWT Authentication. This project is designed to help you create a robust API for an imaginary ChangeLog app, enabling seamless product update management.

Project Overview

Description

Design and build APIs from the ground up in Node.js! Use Express to handle routes and create your REST API. You'll read and update data from a MongoDB database using Prisma and TypeScript. Additionally, enhance the security of your API by implementing JWT authentication.

Database Schema Design

NodeExpress-Prisma-Mongo-TS-JWT-API Database Schema Design

We have carefully crafted a database schema to support the functionalities of our ChangeLog app. The schema includes models such as Update, Update Point, Feature, and standard user information.

Why This Project?

We aim to create a reliable and scalable API to serve as the backend for our ChangeLog app. While we won't be building a UI in this project, the API is designed to handle essential operations such as reading, creating, updating, and deleting product updates.

Tools Used

Runtime

  • Node.js: A runtime that leverages JavaScript, providing a rich and active ecosystem.

Framework

  • Express: A powerful web application framework for Node.js, making API development efficient and organized.

Prisma

  • Prisma ORM: A tool for designing the database according to our needs, handling schemas, queries, and migrations.

Database

  • MongoDB: A flexible and scalable NoSQL database. Prisma interacts seamlessly with MongoDB.

Hosting

  • Render: A platform that simplifies the hosting of Node.js-based APIs, providing ease of deployment.

Project Links

Note: The Postman collection provides detailed requests for user, product, update, and update point. Make sure to sign in before accessing protected routes.

Database Information

Explore the MongoDB database schema and sample data using Prisma Studio. Run the following command:

prisma studio

This will open a web page showcasing your database schema. It looks like 👇

API Readme

Contributing

  1. Fork the repository to your GitHub account.
  2. Clone the forked repository to your local machine.
  3. Create a new branch for your feature or bug fix: git checkout -b feature/your-feature or git checkout -b bugfix/your-bugfix.
  4. Make your changes and test thoroughly.
  5. Commit your changes: git commit -m "Your meaningful commit message".
  6. Push to your branch: git push origin feature/your-feature or git push origin bugfix/your-bugfix.
  7. Open a pull request (PR) against the main branch.

Contact

Stats

GitHub commit activity

GitHub contributors

GitHub last commit

Happy Coding ❤️

About

A secure Node.js API with Express, Prisma, MongoDB, and JWT for efficient management of product updates.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published