Welcome to your project generated using StartEase! This guide will walk you through the basic configuration steps to get your backend project up and running.
Before you begin, make sure you have the following prerequisites installed on your system:
- Node.js and npm: Download and install Node.js from nodejs.org.
Install project dependencies using npm :
npm installOR
Install project dependencies using yarn :
yarn installYour project relies on environment variables for configuration. To set up these variables:
-
Create a
.envfile in the project root directory. -
Add the following environment variables to the
.envfile:APP_NAME=YourAppName APP_PORT=3000 APP_ENV=developmentNote: configuration variables should be added based on config in the environment.js file.
Replace YourAppName, your-database-url, your-database-name, etc., with your actual project and database information.
Once you've configured your environment variables, you can start your project:
npm run devYour backend server should now be running at http://localhost:.