miracyuzakli / flask-nextjs-auth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

User Authentication System with Next.js and Flask

This project is an example of building a simple user authentication system using Next.js and Flask. The project includes user registration and login processes. The Next.js frontend handles user interface, while the Flask backend takes care of user authentication and management.

Getting Started

You can run the project on your local machine by following these steps:

  1. Clone the Project:
git clone https://github.com/miracyuzakli/flask-nextjs-auth.git
cd flask-nextjs-auth
  1. Setup Flask Backend:

To run the Flask backend, follow these steps:

cd backend
python3 -m venv venv
source venv/bin/activate (or venv\Scripts\activate for Windows)
pip install -r requirements.txt
python app.py
  1. Setup Next.js Frontend:

To run the Next.js frontend, follow these steps:

cd frontend
npm install
npm run dev
  1. View in Browser:

Open http://localhost:3000 in your browser to see the project in action.

Contributions

This project is open source and we welcome your contributions. If you'd like to contribute, feel free to fork the repository and submit pull requests.


About


Languages

Language:CSS 80.6%Language:JavaScript 13.1%Language:Python 6.3%