Skip to content

This repository provides a simple registration application built using ReactJS with Vite for the frontend, Django for the backend, and MySQL for the database. Follow the instructions below to get started.

Notifications You must be signed in to change notification settings

kkbughunter/Getting-start-React-vite-Django-MySQL

Repository files navigation

Simple Registration Application

This repository provides a simple registration application built using ReactJS with Vite for the frontend, Django for the backend, and MySQL for the database. Follow the instructions below to get started.

Prerequisites

  • Node.js installed on your machine
  • Python installed on your machine
  • MySQL database server installed and running

Getting Started

  1. Clone the repository:

    git clone https://github.com/KKBUGHUNTER/Getting-start-React-vite-Django-MySQL.git
    cd Getting-start-React-vite-Django-MySQL
  2. Install frontend dependencies:

    npm install
    npm install axios
  3. Set up a virtual environment for Django and activate it:

    virtualenv env
    source env/bin/activate
  4. Install backend dependencies:

    pip install django djangorestframework django-cors-headers mysqlclient

Node: Please confirm the backend/settings.py DATABASE Config inforamtion as per your machine.

  1. Perform database migrations:

    python manage.py makemigrations
    python manage.py migrate
  2. Start the Django server:

    python manage.py runserver
  3. Start the frontend development server:

    npm run dev

Usage

Once both the Django server and the frontend development server are running, you can access the application through your web browser. The registration form should be available, allowing users to register by providing their details.

Additional Notes

  • Make sure your MySQL database server is running and accessible before running the Django migrations.
  • For production deployment, ensure to configure appropriate settings for security, database connections, and other necessary configurations.
  • Feel free to customize and extend the application according to your requirements.

Enjoy using the Simple Registration Application! If you encounter any issues or have any questions, don't hesitate to reach out to the repository owner.

About

This repository provides a simple registration application built using ReactJS with Vite for the frontend, Django for the backend, and MySQL for the database. Follow the instructions below to get started.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published