Quick StartΒΆ
Ready to start? Hereβs what you need to do:
Clone the Repository: Get the code from our GitHub repository.
Install Dependencies: Follow the installation guide to set up the necessary dependencies.
Run the Application: Use our step-by-step instructions to start the nxtbn application on your local environment.
Explore Documentation: Learn about the different features and customization options available.
Install Backend for DevelopmentΒΆ
Clone the repository:
if you set ssh key already:
git clone git@github.com:nxtbn-com/nxtbn.git
if no ssh key set:
git clone https://github.com/nxtbn-com/nxtbn.git
Navigate to the project directory:
cd nxtbn
Copy the environment variables file:
cp env.example .env
Activate the virtual environment:
pipenv shell
Install dependencies:
pipenv install
Apply database migrations:
python manage.py migrate
Start neccessary data:
python manage.py nxtbn_init
Run the development server:
python manage.py runserver
API Documentation
For the index of the docs, visit: http://127.0.0.1:8000/docs/
For dashboard docs in Swagger, visit: http://127.0.0.1:8000/docs-dashboard-swagger/
For storefront API docs in Swagger, visit: http://127.0.0.1:8000/docs-storefront-swagger/
Directory StructureΒΆ
βββ nxtbn
βΒ Β βββ cart
βΒ Β βΒ Β βββ api
βΒ Β βΒ Β βΒ Β βββ dashboard
βΒ Β βΒ Β βΒ Β βββ storefront
βΒ Β βΒ Β βββ migrations
βΒ Β βββ checkout
βΒ Β βΒ Β βββ api
βΒ Β βΒ Β βΒ Β βββ dashboard
βΒ Β βΒ Β βΒ Β βββ storefront
βΒ Β βΒ Β βββ migrations
βΒ Β βββ core
βΒ Β βΒ Β βββ api
βΒ Β βΒ Β βΒ Β βββ dashboard
βΒ Β βΒ Β βΒ Β βββ storefront
βΒ Β βΒ Β βββ currency
βΒ Β βΒ Β βββ management
βΒ Β βΒ Β βΒ Β βββ commands
βΒ Β βΒ Β βββ migrations
βΒ Β βββ discount
βΒ Β βΒ Β βββ migrations
βΒ Β βββ filemanager
βΒ Β βΒ Β βββ api
βΒ Β βΒ Β βΒ Β βββ dashboard
βΒ Β βΒ Β βΒ Β βββ storefront
βΒ Β βΒ Β βββ migrations
βΒ Β βββ gift_card
βΒ Β βΒ Β βββ migrations
βΒ Β βββ home
βΒ Β βΒ Β βββ api
βΒ Β βΒ Β βΒ Β βββ dashboard
βΒ Β βΒ Β βΒ Β βββ storefront
βΒ Β βΒ Β βββ migrations
βΒ Β βββ invoice
βΒ Β βΒ Β βββ api
βΒ Β βΒ Β βΒ Β βββ dashboard
βΒ Β βΒ Β βΒ Β βββ storefront
βΒ Β βΒ Β βββ migrations
βΒ Β βββ order
βΒ Β βΒ Β βββ api
βΒ Β βΒ Β βΒ Β βββ dashboard
βΒ Β βΒ Β βΒ Β βββ storefront
βΒ Β βΒ Β βββ management
βΒ Β βΒ Β βΒ Β βββ commands
βΒ Β βΒ Β βββ migrations
βΒ Β βββ payment
βΒ Β βΒ Β βββ api
βΒ Β βΒ Β βΒ Β βββ dashboard
βΒ Β βΒ Β βΒ Β βββ storefront
βΒ Β βΒ Β βββ migrations
βΒ Β βΒ Β βββ plugins
βΒ Β βββ plugins
βΒ Β βΒ Β βββ migrations
βΒ Β βΒ Β βββ sources
βΒ Β βββ post
βΒ Β βΒ Β βββ migrations
βΒ Β βββ product
βΒ Β βΒ Β βββ api
βΒ Β βΒ Β βΒ Β βββ dashboard
βΒ Β βΒ Β βΒ Β βββ storefront
βΒ Β βΒ Β βββ management
βΒ Β βΒ Β βΒ Β βββ commands
βΒ Β βΒ Β βββ migrations
βΒ Β βββ seeder_files
βΒ Β βββ seo
βΒ Β βΒ Β βββ api
βΒ Β βΒ Β βΒ Β βββ dashboard
βΒ Β βΒ Β βΒ Β βββ storefront
βΒ Β βΒ Β βββ migrations
βΒ Β βββ tax
βΒ Β βΒ Β βββ api
βΒ Β βΒ Β βΒ Β βββ dashboard
βΒ Β βΒ Β βΒ Β βββ storefront
βΒ Β βΒ Β βββ migrations
βΒ Β βββ users
βΒ Β βΒ Β βββ api
βΒ Β βΒ Β βΒ Β βββ dashboard
βΒ Β βΒ Β βΒ Β βββ storefront
βΒ Β βΒ Β βββ management
βΒ Β βΒ Β βΒ Β βββ commands
βΒ Β βΒ Β βββ migrations
βΒ Β βΒ Β βββ tests
βΒ Β βΒ Β βββ utils
βΒ Β βββ vendor
βΒ Β βββ api
βΒ Β βΒ Β βββ dashboard
βΒ Β βΒ Β βββ storefront
βΒ Β βββ migrations
βββ proxy
βββ scripts
βββ static
βββ templates
βββ account
βββ admin