Coder Social home page Coder Social logo

vantasticplus's Introduction

VantasticPlus

Vantastic+ - An Innovative Learning Platform for Vancouverites and Fans

Backend Setup

To get the backend of Vantastic+ up and running, follow these steps:

  1. Clone the repository:

    git clone https://github.com/Valliuzj/VantasticPlus.git
    
    cd vantasticplus
    
    cd backend
    
  2. Create the Firebase connection file:

    In the backend directory, create a file named firebase.js and also add your Firebase configuration file

  3. Create the dotenv file:

    In the backend directory, create a .env file and add your environment variables as shown in .env.example

  4. Install dependencies:

    Navigate to the backend directory and run the command npm install to install dependencies.

  5. Start the server:

    Use nodemon server.js to start the server.

Flask API Setup

  1. Navigate to machine_learning directory
    cd..
    cd machine_learning
  2. Install all the packages
    pip install requirements.txt
  3. Start the flask API
    python recommendation.py
  4. If there is versions error please run python model.py to regenerate the model

Frontend Setup

  1. Enter the frontend folder:

    cd frontend

  2. Create .env.local:

    NEXT_PUBLIC_API_BASE_URL= https://your-api-base-url.com For example: http://localhost:8000. It should be the same with your backend portal.

  3. Install dependencies:

    npm install

  4. Start the server:

    Use npm run dev to start the server.

vantasticplus's People

Contributors

yamnmao avatar valliuzj avatar susieyang1221 avatar vickybobobo avatar zdzhou67 avatar

Watchers

Lucian avatar  avatar

Forkers

yamnmao

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.