Giter VIP home page Giter VIP logo

djangoapi-grp14's Introduction

Hospital Management System

Description

This is a backend project for generating a Django API to be linked to a frontend project

Prerequisites

  • Ubuntu Software
  • Python3.8
  • Postgress
  • python virtualenv

Clone the Repo

Run the following command on the terminal: git clone https://github.com/Brian-Muchera/DjangoAPI-grp14.git && cd DjangoAPI-grp14

Activate virtual environment

Activate virtual environment using python3.8 as default handler

virtualenv -p /usr/bin/python3.8 venv && source venv/bin/activate

Install dependancies

Install dependancies that will create an environment for the app to run pip3 install -r requirements.txt Create the Database

psql
CREATE DATABASE brian1;

.env file

Create .env file and paste paste the following filling where appropriate:

SECRET_KEY = '<Secret_key>'
DBNAME = 'brian1'
USER = '<Username>'
PASSWORD = '<password>'
DEBUG = True

Run initial Migration

python3.8 manage.py makemigrations app
python3.8 manage.py migrate

Run the app

python3.8 manage.py runserver

Open terminal on localhost:8000

Known bugs

None for now!!

Technologies used

Contact us at

if you run into any issue or have any questions

License

  • License

djangoapi-grp14's People

Contributors

brian-muchera avatar cindykatoni avatar d-kahara avatar j-okoto avatar kadogokenya avatar tonyishangu 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.