This Application provides basic authentication features like you can register and create account and then login and access your profile.

Overview

Authentication API

This Application provides basic authentication features like you can register and create account and then login and access your profile.

REGISTER

You can create a new account on /register route and you need to provide

{
  "firstName":"Rohan",
  "lastName":"Kulkarni,
  "email":"[email protected]",
  "password":"xzy"
}

LOGIN

You can Login into application using /login route you will be given a token which you can use to check profile. For login you need to provide email and password

{
  "email":"[email protected]",
  "password":"xzy"
}

PROFILE

You can access your profile on /profile route. For this you need to provide token as bearer token and you will get details which you filled during register.

HOW TO SETUP ?

For setting up the project you need to download the project files and create a new file named .env in which you need to provide 3 variables as follow

PORT=4001
MONGODB_URL=mongodb://127.0.0.1:27017/authenticationAPI
SECRET_KEY=yoursecretkey

After that you can use command npm run dev and try creating users.

You might also like...

Tip Tweet is a hybrid dApp that provides a simple way to tip a tweet using Ethereum. Authors can claim their tips using their Twitter account. You only need the tweet URL to tip. ๐Ÿš€ ๐Ÿ˜Ž

Tip Tweet Table of Contents About Folder Structure Contract Deveopment Starting the App Usage Contributing About Tip Tweet is hybrid dApp that allows

Nov 15, 2022

A "Basic-to-Lisp" compiler. But Basic is not real Basic, and Lisp is not real Lisp.

Basic2Lisp A "Basic-to-Lisp" compiler. But Basic is not real Basic, and Lisp is not real Lisp. Syntax Print-Sth Put some-value to standard output. PRI

Jul 10, 2022

This project is a Web application based on an external API. The API provides data about music (including artists, albums, etc) that users can access on-demand. This project was built with ES6, HTML and CSS and it is a SPA.

This project is a Web application based on an external API. The API provides data about music (including artists, albums, etc) that users can access on-demand. This project was built with ES6, HTML and CSS and it is a SPA.

Capstone M2: Music App This project is a Web application based on the music API Napster built with ES6, HTML and CSS and it is a SPA. This API provide

Aug 29, 2022

may-be.gay is a service in which you can register your own sub-domain for your personal website

may-be.gay is a service in which you can register your own sub-domain for your personal website

may-be.gay is a service in which you can register your own sub-domain for your personal website. How to register New method (Recommended) Create a new

Dec 27, 2022

Awesome Books project with ES6 is an application that was built using Vanilla JavaScript with ES6 features like using arrow functions. This application allows you to keep records of your favorite books.

Javascript Project Awesome Books with ES6 Using Javascript to create a simple Awesome Books project. Populating the books list and then removing one b

Sep 28, 2022

A Web application that showcases Rockets and Missions from the SpaceX API, you can reserve Rockets and join Missions to your profile.

A Web application that showcases Rockets and Missions from the SpaceX API, you can reserve Rockets and join Missions to your profile.

Space Travelers' Hub Project that showcases Rockets and missions from the SpaceX API, the user can reserve Rockets and join Missions, and save them in

Apr 17, 2022

A REST API which provides you the information of any discord account including their Spotify & VS-Code activity!

Friday A REST API which provides you the information of any discord account including their Spotify & VS-Code activity! This is an open sourced reposi

Jan 4, 2023

Easy Social Media Login Authentication integrator

Easy Social Media Login Authentication integrator

AuthJs Easy Social Media Login Authentication integrator CDN authjs.min.js https://cdn.jsdelivr.net/npm/@rohit-chouhan/authjs/authjs.min.js authjs.js

Jan 30, 2022

Register your username, log into the app and create your list of a to-do with local storage.

Register your username, log into the app and create your list of a to-do with local storage.

Todofy Todofy is a web app to create your to-do list with local storage. Explore the docs ยป View Demo ยท Report Bug ยท Request Feature Table of Contents

Jun 30, 2022
Owner
Rohan Kulkarni
Web Lead at GDSC-SITS | Learning Web-Development | Exploring Open Source
Rohan Kulkarni
We are creating a Library that would ensure developers do not reinvent the wheel anymore as far as Authentication is concerned. Developers can easily register and download authentication codes that suits their need at any point.

#AuthWiki Resource Product Documentation Figma Database Schema First Presentation Live Link API Documentation Individual Contributions User Activity U

Zuri Training 17 Dec 2, 2022
Base Rails app that includes login, social login, homepage, and basic model for serving as a scaffold app.

Rails7Base I created the Rails7Base as a scaffold application. Countless times, I had to create apps that must have the following features: Login syst

Chim Kan 14 Jul 2, 2022
๐ŸŽจ Beautify your github profile with this amazing tool, creating the readme your way in a simple and fast way ๐Ÿš€ The best profile readme generator you will find โšก

Demo Profile Readme Generator The best profile readme generator you will find! About | Technologies | Requirements | Starting | Contributing ?? About

Mauro de Souza 476 Jan 1, 2023
This site compares your GitHub Profile to your friends, and analyses and tells your GitHub profile score too.

GitHub โš”๏ธ Duel Deployed at ?? : https://githubduel.vercel.app/ Compare your GitHub profiles with your friends It gives score to GitHub profile based o

Anshuman swain 17 Nov 21, 2022
A public board for all the Computer Society and Students to display their profile. An online year-book for you to display your profile in the most creative manner

Student's Yearbook by IEEE Computer Society Student's yearbook is an open-source project which intends to dispaly the students who will be graduating

IEEE Computer Society 11 Dec 18, 2022
node.js project based jwt-auth / register-login-logout

JSON Web Token / Authentication-Authorization JSON Web Token allows us to check Authorization (Session Control). JSON Web Token (JWT) is an open stand

mert 9 Sep 15, 2022
node.js project based jwt-auth / register-login-logout

JSON Web Token / Authentication-Authorization JSON Web Token allows us to check Authorization (Session Control). JSON Web Token (JWT) is an open stand

mert 4 May 28, 2022