Skip to content

Litti8/Auth-Implementations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auth-Implementations.

Description:

This repository is a collection of practical examples for implementing various authentication methods in web applications. Each directory represents a specific type of authentication and contains everything needed to set up and run the example.

Technologies Used:

  • Frontend: HTML, CSS, JavaScript
  • Backend: Node.js, Express, PostgreSQL
  • Dependencies: body-parser, ejs, pg, bcrypt.

Project Structure:

Each directory represents a type of authentication. For example:

  • auth-lvl-1: Implements basic authentication with username and password.
  • public: CSS files as a style sheet.
  • views: EJS files for the user interface.
  • index.js: Node.js server code.
  • package.json:Dependencies..
  • queries.sql: SQL instructions to create the database.

How to Run:

  • To run the code you must create a database locally with your user, to do this follow the instructions in the queries.sql file in each directory.
  • open bash terminal.
  • Clone the repository:
 git clone <url_repository>
  • Navigate to the desired authentication directory:
 cd auth-lvl-1
  • Install dependencies:
 npm install
  • run the example:
 node index.js

Contributions: Contributions are welcome. Please open an issue or create a pull request.

Author: Lisandro Piatti.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published