This is project for CN334 Web Application Development.
Create by Kanrat Peetiphop (Mon), Phattaraphol Saeheng (Jai) , Anon Nuangplee (Ohm)
Includes
- app_frontend : NextJS template for Front-end Development
- ecommerce : Django with Restframework, cors-header, requests and Simple_JWT installed
- data : SQLite3 Database file
Visit our website on render online deployment via https://ecoreachdb-frontend.onrender.com/
- Docker and Docker-compose version 2.0+
To run this dokcer-compose template please folloiwng the instruction following
- Build the docker container by following command
docker-compose up -d
docker-compose build
- Start the Docker-compose container by following command
docker-compose up -d
- Install requirements.txt by following command
pip install -r requirements.txt
- Get in docker container by following command
docker-compose exec ecommerce_api /bin/bash
- Make migrations and migrate the django models by following command
python manage.py makemigrations
python manage.py migrate