Code Monkey home page Code Monkey logo

dmp-backend's Introduction

Dataset Management Platform (Backend)

Author: Syafiq Abdillah Umarghanis

Disclaimer

This homework project doesn't fullfil technical requirement no 7 "Use SQLite" because Heroku doesn't support SQLite due to its "disk backed storage" while Heroku server's disk storage will be cleared periodically. Source: https://devcenter.heroku.com/articles/sqlite3. For the alternative, I use PostgreSQL as the relational database. But worry not, the database is integrated whether you use the live demo version of trying to install this project locally on your machine.

Live Demo (Heroku)

You can access the live demo version at
https://dmp-konvergenai.herokuapp.com
username: user1
password: user1

Installation Manual

System Requirements

  1. Python 3.8.3
  2. Git 2.27.01

Prerequisites

  1. Go to certain directory or make a new one. Let's call it DMP
    mkdir DMP && cd DMP
  2. Clone this repo to DMP
    git clone https://github.com/syafiqabdillah/dmp-backend.git backend
  3. Download .env file that has been sent via email

Installation

  1. Go to DMP directory
  2. Go to backend directory
    cd backend
  3. Install virtualenv library for python (if you don't have any similar library)
    python install virtualenv
  4. Create a new environtment called venv
    virtualenv venv
  5. Get into the virtual environtment
    source venv/bin/activate for Linux & MacOS
    venv\Scripts\activate for Windows
  6. Install all dependencies
    pip install -r requirements.txt
  7. Copy paste .env file for backend (sent via email) to backend directory
  8. Run the server
    uvicorn main:app --reload
  9. Your server is running on port 8000. Open http://localhost:8000 in your browser to make sure that it is installed properly.

Questions

Any questions or difficulties? Don't hesitate to ask me by posting new issue in this repo or sending me emails at [email protected]

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.