Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 1.23 KB

README.md

File metadata and controls

28 lines (16 loc) · 1.23 KB

Next - Sociogram - APIS

This social media api app allows users to perform CRUD operations like a real social media app on posts and users. It uses MongoDB as the database to store data, Next.js API for handling server-side logic and Node.js for server-side runtime environment. The app provides a seamless experience for it's API's.

Running the Project Locally

To run this project on your local machine, follow these steps:

  1. Clone the Repository: Clone this repository to your local machine:

    git clone https://github.com/nia3zzz/next-sociogram-apis

  2. Install Dependencies: Install the necessary dependencies using npm or yarn:

    npm install

    or

    yarn install

    or

    pnpm install

  3. Setup Environment Variables: Create a .env file in the both of your project directories and add the variables mentioned in the .env.sample

  4. Start the Development Server: Run the following command to start the development server:

    npm start

  5. Access the App: Open your web browser and navigate to http://localhost:3000[server], to access the app. You can now use the app locally on your machine, connected to your MongoDB database using the URI specified in the .env file.