Getting Started
Frontend Website - Layout & Styling
Frontend REST API & MongoDB Database
Frontend Website - Display Real Data
Deploy The Frontend Website & REST API
Search Engine Indexing
Configure Google Analytics
Admin Website - Layout & Styling
Admin REST API
Deploy The Admin Website & REST API / Deploy The Admin Website

Deploy The Admin Website

With the domain URLs configured and pointing at your server, we can now deploy and run the admin website application.

We'll do this with the same steps we went through for the frontend website:

  1. Push your admin website application code to a remote GitHub repository.
  2. Pull the GitHub repository code onto your server, install the dependencies, and run the application using Node.js.
  3. Configure the application to run using PM2 to keep the application running forever.
  4. Configure Nginx as a reverse proxy so your NodeJS application is served using the www.admin.example.com URL.
  5. Configure https:// encryption for the website using Let's Encrypt and Certbot.

Before deploying the application in the next steps, ensure the domain URL values in the /coding-blog/admin/website/next.config.js file match the domains you created and configured with DigitalOcean.

If those are incorrect, the application will not work properly.

Once those are set, let's get to it!

Access the rest of this course with a free account.
Gain full, lifetime access to all of our free courses by creating a free account.
⚠️ In preview mode some course materials are hidden. For full access 👉
Getting Started
Frontend Website - Layout & Styling
Frontend REST API & MongoDB Database
Frontend Website - Display Real Data
Deploy The Frontend Website & REST API
Search Engine Indexing
Configure Google Analytics
Admin Website - Layout & Styling
Admin REST API