Skip to content

akshatnema/reunion-assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Reunion-Assignment

This repository contains the implementation of project assigned as Full Stack Developer Assignment from Reunion. Project is made using React + TailwindCss + Flowbite + DaisyUI at frontend and Node js Express backend server to control all endpoints with MongoDB used as database to store the data related to users and their properties.

Deployed Links

Website - https://reunion-akshat-assignment.netlify.app.

Backend Server Endpoint - https://reunion-backend-zsiu.onrender.com.

Postman Workspace to describe APIs - https://elements.getpostman.com/redirect?entityId=19209285-75e54cf3-35c9-4209-a0cd-31d93b82f02e&entityType=collection

Steps to setup this project

Project is divided into 2 directories - server and web. We have to spin up both server and web simultaneously to fetch the data from database and show them on website. Here are the following steps:-

  1. Navigate to server directory and install the NPM dependencies. Use following commands:

    cd server/
    npm install
  2. Make a .env file for environment variables inside the folder as:

    JWT_SECRET=
    MONGO_URL=
    
  3. Run the backend server using the command:

    node ./server.js
  4. Now, navigate to web folder and install the NPM dependencies. Use following commands:

    cd web/
    npm install
  5. Make a .env file for environment variables inside the folder as:

    VITE_BACKEND_URL='http://localhost:5000'
    
  6. Run the frontend server using the command:

    npm run dev
  7. Make an optimized build using following command:

    npm run build

About

Full Stack Assignment to render all the properties user want to rent and filter the necessary ones.

Topics

Resources

Stars

Watchers

Forks