8000 GitHub - manumarquezg/shopping-list: 🛒 Shopping list app demo.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

manumarquezg/shopping-list

Repository files navigation

Shopping list demo

Screenshot

Backend

Run manually

Install dependencies and virtual environment

pipenv install

Open the installed virtualenv with:

pipenv shell

Run database migrations

./manage.py migrate

Create super user

./manage.py createsuperuser

Select a name and password for the super user.

Run the server

Inside the Python virtual env:

./manage.py runserver

Run with docker

Build docker image

docker build . -t shopping-list

Run the docker image

docker run -p 8000:8000 -it shopping-list:latest

Admin panel

Go to http://localhost:8000/admin/ and use your super user credentials to see the admin panel.

You can manually add/edit/remove products from here.

API REST

Go to http://localhost:8000/api/v1/shoppinglist/ to see the available endpoints on the API REST v1.

Frontend

Run manually

Install dependencies

To use the npm version specified on the .nvmrc file:

nvm use

Install dependencies:

npm install

Start the frontend

npm run start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

About

🛒 Shopping list app demo.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0