https://github.com/paulio11/banana
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.
https://github.com/paulio11/banana
django react restframework
Last synced: 2 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/paulio11/banana
- Owner: paulio11
- Created: 2024-12-31T18:16:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-31T21:35:55.000Z (over 1 year ago)
- Last Synced: 2025-06-01T05:15:58.770Z (about 1 year ago)
- Topics: django, react, restframework
- Language: JavaScript
- Homepage:
- Size: 64.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Banana 🍌
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.
## Features
- 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
## Deployment
Instructions are for macOS.
### Requirements
- Node.js
- Python
### Backend Setup
1. Open the backend directory in your terminal.
2. Create and activate a virtual environment:
```bash
python3 -m venv venv
source venv/bin/activate
```
3. Install dependencies:
```bash
pip3 install -r requirements.txt
```
4. Apply database migrations:
```bash
python3 manage.py makemigrations
python3 manage.py migrate
```
5. (Optional) Create an admin user:
```bash
python3 manage.py createsuperuser
```
6. Start the server:
```bash
python3 manage.py runserver
```
### Frontend Setup
1. Open the frontend directory in your terminal.
2. Install dependencies:
```bash
npm install
```
3. Start the server:
```bash
npm run dev
```