Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hyperion Auth

Welcome to Hyperion! This application is designed to provide a hands-on experience for newbies looking to implement authentication in a web application using Passport.js, MySQL, and React. This repository is made so that newbies to Node.js or session/cookie authentication in general can get an idea of how the process works.

Getting Started

Follow these steps to set up and run the project locally:

Prerequisites

Make sure you have the following installed:

  • Node.js and npm
  • MySQL

Installation

  1. Clone the repository:
git clone https://github.com/sekisaii/hyperion.git
#install dependencies ==>

cd hyperion

npm install

#set up the MySQL database ==>
#you have to install mysql server from here [https://www.mysql.com/downloads/]
#and configure it properly if you haven't already 

#create a new MySQL database for the project and update the configuration in db.js.

#start the server ==>

npm run server

#start the React app (in a new terminal):

npm run client

Visit http://localhost:3000 in your browser to access the application.

Usage

This application demonstrates user authentication using Passport.js. Explore the codebase to understand the implementation details. Feel free to customize and extend it to suit your project requirements.

Resources

For beginners, the following resources might be helpful:

Passport.js Documentation => https://www.passportjs.org/docs/

Issues and Contributions

If you encounter any issues or have suggestions for improvement, please open an issue. Contributions are always welcome!

Happy coding!

About

An example application for authentication via passport js mysql and react. For those who are newbies, this might be valuable since resources are scare

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages