NODEJS AND ANGULAR APP This is a full-stack application built using NODEJS, EXPRESS AND ANGULARJS. It consists of a frontend ANGULARJS and a backend NODEJS, providing product management and basic authentication with jwt.
Getting Started To get started with the app, follow the steps below.
Installation Clone the repository:
bash Copy code git clone https://github.com/chambahr/product-mgt-with-angular-and-nodejs Install dependencies for the frontend:
bash Copy code cd frontend npm install Install dependencies for the backend:
bash Copy code cd backend npm install Set up the required environment variables:
Create a .env file in the root directory of the backend. Define the necessary environment variables in the .env file. Start the development servers:
bash Copy code
cd frontend npm start
cd backend npm start Deployment with Render.com This app can be easily deployed to Render, a cloud platform that provides an easy and scalable way to host web applications.
To deploy the app on Render.com, follow these steps:
Sign up for an account on Render.com (if you haven't already).
Create a new web service.
Configure the web service with the following settings:
Name: [Your app's name] Environment: [Development/Production] Public Port: [Port number] Add the necessary environment variables:
Deploy the app by connecting the Render service to your app's repository.
Once the deployment is complete, Render will provide you with a URL where you can access your deployed app.