dnuske / public-page-builder-backend

Public Page Builder Backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

page_builder app

This app was bootstrapped with Imagine.ai đź’›

Imagine.ai is an app starter on steroids!

Run the app in terminal

Install packages and start the application server.

$ make install
$ make migrate
$ make run

Run the app inside a Docker container

  1. Build the docker container and get it up and running.
$ docker-compose build
$ docker-compose up
  1. Setup database tables by running migrations.
$ docker-compose exec web python manage.py makemigrations
$ docker-compose exec web python manage.py migrate

Make API calls against the server

  1. Go to http://localhost:8000/swagger to see Swagger documentation for API endpoints.
  2. Run the APIs by clicking the "Try it now" button on the Swagger page.

Run Django admin dashboard

  1. Setup a password to login to the Django admin dashboard.
make adminuser password=<choose-a-secure-password>
  1. Go to http://localhost:8000/admin and login to the dashboard using username admin and the password you chose in step 1 above.

Run tests and check code coverage

$ make test
$ make coverage

Lint your code

$ make lint

Learn More

  1. Learn more about:
  1. Imagine is in beta - here are the known issues that we are working to fix.

after isntallation of django-rest-authemail superusers are created using this method

python manage.py createsuperuser

About

Public Page Builder Backend


Languages

Language:Python 88.4%Language:JavaScript 6.4%Language:Makefile 3.7%Language:Dockerfile 1.5%