WD Messenger is a unique social networking platform that focuses on the present moment, offering users a space to express their thoughts and feelings as a way of catharsis. Unlike traditional social media platforms, each user's written expression is limited to a concise 250 words and remains valid for only 6 hours before disappearing. This ephemeral nature of content allows users to freely express themselves without concerns about long-term consequences or judgment. The name of the app refers to stars that are no longer visible, but their light takes a long time to reach Earth. It serves as a metaphor for capturing the essence of the moment in each message.
These instructions will help you set up and run WD Messenger locally on your system. Ensure you follow the steps correctly.
Before you begin, make sure you have the following prerequisites installed on your system:
Node.js and npm
Docker and Docker Compose
If you haven't already, clone the GitHub repository to your local machine:
git clone https://github.com/fedect1/graduation-project-fedect1
cd graduation-project-fedect1/backend
MONGODB_CONNECTION_STRING=<Your MongoDB Connection String>
SESSION_SECRET=<Your Session Secret>
Replace <Your MongoDB Connection String>
with your MongoDB connection details and <Your Session Secret>
with a secret key for session management.
npm install
cd graduation-project-fedect1/frontend
VITE_API_BASE_URL=<Your Backend API URL>
Replace <Your Backend API URL>
with the URL of your backend server.
npm install
Return to the root directory of your project and use Docker Compose to build and run the containers:
docker-compose up --build
Once the containers are up and running, you can access the frontend of WD Messenger at http://localhost:5173
in your web browser.
To stop the containers and clean up the resources, run the following command in the root directory of your project:
docker-compose down
These updated instructions ensure that users install the necessary dependencies for both the backend and frontend before running the application.
Note:
- There is a class.puml example file located in the architecture folder.
To start working *.puml files:
If you what to visualize a preview of the class.puml file or another *.puml file on the project, please select the file and on your keyboard press the following keys:
MacOS: Option + D
Linux/Windows: Alt + D The above commands will automatically open your a window and will show you live any updates that you make on the file.
Copyright (c) 2022 Coyotiv
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.