berthutapea / mern-login-register-dashboard

MERN Login & Register Dashboard (My SQL, Express, React & Nodejs)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MERN LOGIN & REGISTER DASHBOARD

Fullstack open source login & register dashboard application made with MySql, Express, React & Nodejs (MERN)

Configuration and Setup

In order to run this project locally, simply fork and clone the repository or download as zip and unzip on your machine.

  • Open the project in your prefered code editor.
  • Go to terminal -> New terminal (If you are using VS code)
  • Split your terminal into two (run the client on one terminal and the server on the other terminal)

In the first terminal

$ cd client
$ npm install (to install client-side dependencies)
$ npm run dev(to start the client)

In the second terminal

  • Create your MySQL database, which you will use as your database
  • Supply the following credentials
# --- Terminal ---

$ cd server
$ npm install (to install server-side dependencies)
$ npm start (to start the server)

Key Features

  • User registration and login
  • Authentication using JWT Tokens
  • Responsive Design

Technologies used

This project was created using the following technologies.

Frontend

  • React js - JavaScript library that is used for building user interfaces specifically for single-page applications
  • React Hooks - For managing and centralizing application state
  • react-router-dom - To handle routing
  • axios - For making Api calls
  • SCSS - For User Interface
  • React icons - Small library that helps you add icons to your react apps.

Backend

  • Node js -A runtime environment to help build fast server applications using JS
  • Express js -The server for handling and routing HTTP requests
  • mysql - For authentication
  • cors - Provides a Connect/Express middleware

Database

  • MySQL - It provides a free cloud service to store MongoDB collections.

Screenshots

img-1


img-2


img-3

Author

License

MIT License

Copyright (c) 2022 Gilbert Hutapea

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

MERN Login & Register Dashboard (My SQL, Express, React & Nodejs)

License:MIT License


Languages

Language:SCSS 37.9%Language:CSS 33.6%Language:JavaScript 28.1%Language:HTML 0.4%