Skip to content

This project consists of simple UI with frontend framework `Next` and `restapi` backend server (`express version 5.0.0 beta`). The main focus of this project is on backend server where the client can signin with email and password and server will verify client email through sending mail. In this <i>api</i> client is able to change his/her passwo…

Notifications You must be signed in to change notification settings

MJ9601/rest-api-passwordless-signin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Project overview

This project consists of simple UI with frontend framework Next and restapi backend server (express version 5.0.0 beta). The main focus of this project is on backend server where the client can signin with email and password and server will verify client email through sending mail. In this api client is able to change his/her password through email confirmation. Futhermore, the backend server also provides passwordless signin also through email confirmation. The email confirmation will be handled using nodemailer module. After confirmation of client's mail, his/her account will be verified and sessions will be created for login process. The accessToken and refreshToken will be created using jsonwebtoken and get attached to cookies in response.

Getting Started

Server: To run the server in development mode at the server directory use following commad

yarn dev
or
npm dev

The server will be running on PORT 8080 and it is accessable in http://localhost:8080.

UI

To run the UI in development mode at the ui directory use following commad

yarn dev
or
npm dev

The ui will be running on PORT 3000 and it is accessable through http://localhost:3000 url.

Tech in Use

The both ui and server are writtin in Typescript. In the following lines the Tech which have been used to create ui and server are listed:

Server

The Tech the use in the server are:

Typescript,
express,
mongoose,
cookie-parser,
cors,
nodemailer,
zod,

Ui

A simple login Ui is choose for this project since the main focus of it is on the backend, so only Tech required is Next with SSR.

Project Status

Started, under development.

About

This project consists of simple UI with frontend framework `Next` and `restapi` backend server (`express version 5.0.0 beta`). The main focus of this project is on backend server where the client can signin with email and password and server will verify client email through sending mail. In this <i>api</i> client is able to change his/her passwo…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published