Skip to content

Node.js/Python/SQLAlchemy Authentication Website with Google API

Notifications You must be signed in to change notification settings

sepehrnour/PyDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyDB

Node.js/Python/SQLAlchemy Authentication Website with Google API.

This project is a web application built using Node.js and Python with SQL for storage, implementing a simple sign-up and login functionality. It also includes Google API authentication using OAuth 2.0. The backend is built using Flask and SQLalchemy, while the frontend is built with Node.js and Express. This application can be used as a boilerplate for building other web applications that require authentication.

Features

  • Sign-up and login functionality
  • Google authentication using OAuth 2.0
  • Simple backend built with Flask and SQLalchemy
  • Begginer friendly frontend built with Node.js and Express
  • Easy to use and modify to fit specific use cases

Dependencies

  • Node.js
  • Python
  • Express
  • Flask
  • SQLalchemy
  • Passport
  • Passport-google-oauth20

Installation

Clone this repository to your local machine. Install the required dependencies by running npm install and pip install in the project directory.

  • Be certain that you have npm, npx, and express functioning well as it can malfunction if your enviornment path variable does not include their install location Obtain clientID and clientSecret credentials from Google API. Set up environment variables for clientID and clientSecret.

Usage

Start the Node.js server by running npm start in the project directory. Start the Python server by running python app.py in the project directory. Navigate to http://localhost:3000 in your web browser. Click the "Sign up" button to create a new account, or click the "Login" button to log in to an existing account. Click the "Login with Google" button to log in with your Google account. Log out by clicking the "Logout" button.

Contributions

This project is open-source and contributions are welcome. To contribute, please fork this repository, make your changes, and create a pull request.

About

Node.js/Python/SQLAlchemy Authentication Website with Google API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published