PREP CLONE is a full-stack application that serves as a clone of the PREP platform. It consists of a frontend built with NextJS and a backend powered by Node.js and Express.
Before you begin, ensure you have met the following requirements:
- Node.js and npm installed on your machine.
- A code editor, such as Visual Studio Code.
- Git for version control.
To get started with the project, clone the repository:
git clone https://github.com/jackjavi/prep-clone.git
cd prep-clone
-
Navigate to the backend directory:
cd backend
-
Install dependencies:
npm install
-
Setup environment variables:
Copy the environment variables from the
.env.example
file to a new.env
file:cp .env.example .env
-
Replace the placeholder values in the
.env
file with your specific environment details such as database connection strings, API keys, etc. -
Start the backend server:
npm run start
-
Navigate to the frontend directory:
cd ../frontend
-
Install dependencies:
npm install
-
Setup environment variables:
Copy the environment variables from the
.env.example
file to a new.env
file:cp .env.example .env
-
Replace the placeholder values in the
.env
file with your specific environment details. -
Start the frontend development server:
npm run dev
After setting up both the frontend and backend, the application will be running at:
http://localhost:3000
You can visit this URL in your web browser to interact with the application.
The .env
files in both the backend and frontend directories store the environment variables required for the application to run. Make sure to replace the placeholder values in these files with your actual environment-specific configurations.
Ensure that all necessary variables are set correctly for the application to work as expected.
This project is licensed under the MIT License. See the LICENSE file for details.