Node.js LTS version >= 16 and PostgreSQL LTS version >= 14 should be installed
Clone the repository and have two terminals open
Run the server/backend in one terminal:
cp .env.example .env
npm install
npm run dev
Run the client/frontend in the other terminal:
cd client
npm install
npm start
Use the following credentials for the Postgres server:
- Username: lendy_user
- Password: lendy_pass
- Database name: lendyDB
There exist two users pre-loaded into the database, Dan and Test, with the following credentials:
User 1 - Dan:
- email: dan@gmail.com
- password: test123
User 2 - Test
- email: test@gmail.com
- password: test123
Login into the app with any users credentials and you will be greeted with pre-made listings and requests to simulate what the real world app experience would be like.
Both users are part of the same building, "170 Amsterdam Apartments". When creating your own account, it is best to join the same building as the other options may not have user activity pre-seeded into them.
Postman collection used for endpoint testing (Postman account required)
- Frontend: React, React Router, Bootstrap, Socket.IO
- Backend: Node.js, Express.js, Sequelize.js, PostgreSQL, Socket.IO
See citations.md for information on resources used