Coder Social home page Coder Social logo

cz3003-huf's Introduction

CZ3003-HUF

Software Project for Course CZ3003 by Team HUF

Frontend Setup

Go to frontend directory:

cd frontend

1. Install Dependencies

You will need to install Node.js, npm and yarn to manage JavaScript packages that we are going to use.

Download & Install Node.js & npm
https://nodejs.org/en/

Install Yarn

npm install -g yarn

Install node modules in package.json
Make sure you are in the frontend directory before you do this.

yarn install

2. Happy hacking!

You can run the app in the development mode by using

yarn start

Open http://localhost:3000 to view it in the browser.

To build the app for production to the build folder.

yarn build

Backend Setup

1. Install Dependencies

  • Python 3.9.0
  • MYSQL Workbench

2. Setting Up the Virtual Environment

  1. Set up a new virtual environment

    python -m venv env

  2. Activate the virtual environment

    \env\Scripts\activate.bat

  3. Install required libraries

    pip install -r requirements.txt

3. Set-up MySQL Workbench

  1. Create new schema

    Name: project_huf

  2. Create authentication user

    create user admin identified by ‘password';

    grant all on project_huf.* to ‘admin’@’%’;

    flush priviledges;

4. Setting up Project

  1. Migrate all the default Django tables to your MySQL schema.

    python manage.py migrate

4. Running The Server

  1. python manage.py runserver

  2. Open http://localhost:8000

cz3003-huf's People

Contributors

stqtqtq avatar song0180 avatar chihui8199 avatar skrairgee avatar vishalraj23 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.