Skip to content

Masu98s/Studdy-Buddy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

113 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Studdy Buddy - Language Learning Website

Welcome to the Studdy Buddy project! This is a language learning application built with React (frontend) and Django (backend). This README will guide you through the process of setting up the project locally on your machine.

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js (version 14 or later)
  • npm (Node package manager, comes with Node.js)
  • Python (version 3.6 or later)
  • Django (version 3.0 or later)
  • pip (Python package manager, comes with Python)

Install Node.js and npm

You can download and install Node.js from nodejs.org.

Install Python and pip

You can download Python from python.org. Pip is included with Python installations.

Install Django

You can install Django globally using pip:

pip install django

Install Django REST Framework

You'll also need the Django REST framework for the backend API:

pip install djangorestframework

Frontend Setup

  1. Clone the Repository Clone the project repository using Git:
git clone https://github.com/yourusername/studdy-buddy.git
cd studdy-buddy/frontend
  1. Install Dependencies Install the necessary dependencies for the frontend using npm:
npm install
  1. Start the Frontend Development Server You can run the React application using:
npm start

This will open the application in your default web browser at http://localhost:3000.

Backend Setup

  1. Navigate to the Backend Directory In a new terminal window, navigate to the backend directory:
cd studdy-buddy/backend
  1. Create a Virtual Environment:
python -m venv venv
  1. Activate Virtual Environment

On Windows:

venv\Scripts\activate
  1. Install Dependencies Install the required packages for the backend:
pip install -r requirements.txt
  1. Apply Database Migrations Run the following command to create the necessary database tables:
python manage.py migrate
  1. Start the Backend Development Server:
python manage.py runserver

This will start the server at http://localhost:8000.

Additional

Please do not push untested/unfinished code to the main branch Create a new branch on which you work with your unfinished code and only merge if you're certain it won't break the platform

Also, please do not push the database (db.sqlite3 file) to any branch. I only included it in the inital commit to provide you with accounts so you don't have to create them yourselves.

About

Interactive language learning app for the cognitive interaction with robots course (UPC)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • CSS 32.4%
  • JavaScript 31.3%
  • TypeScript 25.7%
  • Python 10.1%
  • Other 0.5%