Banana is a simple frontend and backend application for user registration and login. Built with Django, Django REST Framework, dj-rest-auth, Vite, and React.
Ideal as a starting point for future projects.
- User registration and login
- Account deletion
- Customizable profile (avatar and bio)
- Username and password updates
- List of users
- View user profiles
- 404 error page for missing content
- Network error page for server issues
Instructions are for macOS.
- Node.js
- Python
- Open the backend directory in your terminal.
- Create and activate a virtual environment:
python3 -m venv venv source venv/bin/activate
- Install dependencies:
pip3 install -r requirements.txt
- Apply database migrations:
python3 manage.py makemigrations python3 manage.py migrate
- (Optional) Create an admin user:
python3 manage.py createsuperuser
- Start the server:
python3 manage.py runserver
- Open the frontend directory in your terminal.
- Install dependencies:
npm install
- Start the server:
npm run dev