GithubHelp home page GithubHelp logo

rodgercodes / opendatamalawi-backend Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 18.75 MB

This is a platform where individuals can upload and get access to public datasets for the country

Python 98.07% Dockerfile 0.70% Makefile 1.23%
django django-rest-framework docker opensource postgresql

opendatamalawi-backend's Introduction

OpenDataMalawi

This is a platform where individuals can upload public datasets for the country that could be accessed via an api to download csv and excel files to train models.

Tech Stack

Docker (Optional)

Server: Django, Postgres

Run Locally

Clone the project

  git clone https://github.com/RodgerCodes/OpenDataMalawi-backend

Go to the project directory

  cd OpenDataMalawi-backend

create a .env

  make setup

Note Add the required env varibles values

Create a virtual environment

Install packages

  pip install -r requirements.txt

Run Migrations

  python manage.py migrate

Run Server

  python manage.py migrate

the api run on - http://localhost:8000

To view the docs visit

http://localhost:8000/api/schema/swagger-ui/

With Docker

Clone the project

  git clone https://github.com/RodgerCodes/OpenDataMalawi-backend

Go to the project directory

  cd OpenDataMalawi-backend

create a .env

  make setup

Note Add the required env varibles values

build the image

   make docker-build

start container

   make dev-start

navigate to containter shell

   make docker-shell

In docker shell run migrations

   python manage.py migrate

the api run on - http://localhost:8000

To view the docs visit

http://localhost:8000/api/schema/swagger-ui/

Running Tests

TODO: add tests

Contributions

As usual PRs are welcome.

opendatamalawi-backend's People

Contributors

rodgercodes avatar

Stargazers

 avatar  avatar

Watchers

 avatar

opendatamalawi-backend's Issues

create a dashboard page

  • route protection
  • add a new dataset page
  • edit user profile
  • delete user account
  • edit dataset
  • delete dataset

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.