Skip to content

Botifier/react_drf_menu

Repository files navigation

How to start

There is two seperate apps for both the frontend and the backend.

The backend

To setup the backend you need python3 and pip and then run the following:
pip install -r requirements.txt
Create the db:
python manage.py migrate
Run the server:
python manage.py runserver
The api will run on http://localhost:8000/api/menu/

The frontend

For the frontend app, npm v6.9.0 and node v10.16.0 were used.
cd into the frontend directory and then start with installing dependencies:
npm install
Serving the frontend:
npm start
and then navigate to http://localhost:3000/

Testing

To Run the backend tests:
python manage.py test
To run the frontend tests:
npm test

TODO

  • Add docker-compose for an easier setup/reusability
  • Add more tests for the frontend components
  • Seperate config for production and development for the django backend.
  • [] Add ci

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •