Chat App
------------How to install------------
- clone the github repo
- cd in the 'client' folder and run 'npm i' in the terminal
- cd in the 'api' folder and do the same
- To run the frontend server, run the command 'npm run dev' in 'client' directory
- To run the backend server, run the command 'node app' in 'api' directory
- Go to 'http://localhost:5173' in preferred browser
------------Features------------
- Authentication using cookies
- All routes are protected except /login and /register
- Users can upload posts which are visible to all the users
- Users can also like posts uploaded by them and other users
- Users can chat with other users
- Online indicator
- Users can send attachments in addition to text messages
------------Future Improvements------------
- Mobile support
- Cross-browser testing
- Preview attachments inside the app
- Functionality to search for other users (with debounce)
- Infinite scrolling in the 'Feed' section with lazy loading
- Deleting and editing messages
- Blocking users