Giter Site home page Giter Site logo

fullstackexercise's Introduction

FullStackExercise

Backend

To launch the backend, make sure to follow these steps:

#1: In the FullStackExercise folder, run the following command in cmd to activate the python virtual environment:

   source aphp/bin/activate

#2 Once the virtual environment is activated, cd to the AirportProject folder and run the backend django server by doing:

   cd AirportProject
   python manage.py runserver

-> If any python modules is not installed, you can check which modules is used in the virtual environment with the requirements.txt file in AirportProject

#3 Once the backend server is launched, make sure that it is working by going to :

http://localhost:8000/admin/

#4 You can check that we load the correct json by either going to :

  http://localhost:8000/api/original/
  
  or
  
  http://localhost:8000/api/load_original/

The first route links to the original json, while the second one routes toward another json format file with indices for each instance of the original json file

frontend

#1 To launch the frontend, make sure that npm is installed, then cd to the following folder:

   FullStackExercise/AirportProject/finalfront

#2 And run:

  npm start

The server is in development deployment, but you can still access to the datatable when loading this url:

http://localhost:3000/

Bonus

I have uploaded AFTER THE DEADLINE, my work on the graphs, you can find them by cd into /graphs or /graphs2 and run

npm start

You should have the following graphs ! (use following to see the results on my side) https://imgur.com/a/B4ZthCp

fullstackexercise's People

Contributors

dubrzr avatar big21ray 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.