Skip to content

A minimalist website that allows user registration and login in NodeJS, using Express.

License

Notifications You must be signed in to change notification settings

joelabreurojas/AuthFlow

Repository files navigation

AuthFlow
MIT Logo

AuthFlow is a website that allows user registration and login in NodeJS, using Express.

 

✨ Overview

This project avoids the abstractions to demonstrate backend expertise, applying previous knowledge to navigate an unfamiliar server framework.

It also provides an API endpoint that handles JSON requests to the SQLite3 database.

 

🔌 Installation

  1. Clone the repository, git clone https://github.com/j4breu/AuthFlow.
  2. Check your node version, we recommend 20.x in order to avoid problems with better-sqlite3.
  3. Install the dependencies by running npm install.

 

💻 Usage

  1. Set a PORT and SQLITE3_PATH in your own .env file.
  2. Run the server using npm start and navigate to http://localhost:{PORT} in your browser.
  3. Register a new user by clicking on the "Register" button.
  4. Login with your credentials by clicking on the "Login" button.
  5. Click on "Profile" to see and update your personal information.
BONUS
  • 404 Page.
  • Button "Logout" to use another account.
  • Api testing in /api/v1/users/.

 

🧠 Design

Basic MVC Arquitecture

Basic MVC Arquitecture by MDN


General Flowchart

General Flowchart


MER Structure

MER Structure

 

👐 Contribute

Improvements?

  • Don't hesitate to create a PR.

Problems?

  • Feel free to open a new issue!

 

❤️ Gratitude

Thanks to the following platforms developing this project is possible:

About

A minimalist website that allows user registration and login in NodeJS, using Express.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published