Skip to content
This repository has been archived by the owner on Sep 4, 2022. It is now read-only.

Sashimi is a collective group-buy grocery application

Notifications You must be signed in to change notification settings

ptm108/is3106-project-backend

Repository files navigation

S A S H I M I

Sashimi is developed under NUS's School of Computing IS3106 Module. Sashimi is a collective group-buy platform for groceries to be delivered to your doorstop. The tech stack powering Sashimi's backend comprises of Django, Django Rest Framework, PostgreSQL as our RDB.

Local setup

We are using docker containers for fast local deployment with minimal installations.

Prerequisites Version Links
Docker Desktop 19.03.13 Link

To deploy locally

Clone this repository

git clone [email protected]:ptm108/is3106-project-backend.git

Before you start, get the .env.dev file from TM or Eliz and place it in the root folder

Ensure that Docker Desktop is up and running.

When setting up for the first time:

We will need to build the docker image and deploy it.

Build the docker image:

docker-compose build

Run the docker container:

docker-compose up -d

The backend is accessible at localhost:8000


To access admin panel on Django, you need to create a superuser:

docker-compose exec web python manage.py createsuperuser

Follow the instructions to set up authentication details for the admin panel.

The admin panel is accessible at localhost:8000/admin


To undeploy docker container: (Add -v flag to spin down postgres volume. Warning: database will be wiped)

docker-compose down

About

Sashimi is a collective group-buy grocery application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages