platform to publish oip types
Node module installation needs to happen in both /frontend and /backend seperately
- Navigate to the /frontend directory and run npm install
- Wait for installation to be completed
- Navigate to the /backend directory and run npm install
- Wait for installation to be completed
Navigate to the /backend directory in the root of the project. Add a new file in /backend called .env.
Inside the .env file you just created, copy and paste the code below:
MONGO_URL=<YOUR MONGO URL HERE>
NODE_ENV=development
JWT_SECRET=<YOUR JWT SECRET HERE>
Make sure to replace text contained between < > with your URL/keys
- In the /frontend folder, find the config.js file
- Enter the approriate domain connection within the backendApiUrl variable
backendApiUrl: '<ENTER DOMAIN URL HERE>',
- In the /backend folder, find the config.json file
- Enter the approriate domain connection within the DOMAIN_URL variable
"DOMAIN_URL": "<ENTER DOMAIN URL HERE>",
To start the application properly, you must seperatly start both the /frontend and /backend directories
- Navigate to the /frontend directory and run npm run dev
- Open a seperate terminal session
- In the newly opened terminal session, navigate to the /backend directory and run npm run dev
If you need to a database in which to store information about the application and its users, consider signing up for MongoDB Atlas. Navigate to MongoDB Atlas and create an account.
Once you have created your account: