Pythonidaer / reddie

React app for saving and retrieving Reddit comments.
0 stars 1 forks source link

Reddie App

The Reddie App is an interactive web application that allows users to fetch and view posts from various subreddits based on their input. With a user-friendly interface, users can browse through comment threads and engage in discussions. Additionally, the app provides a convenient feature for users to save comments they find interesting, allowing them to revisit and view them later at their convenience.

Special Thanks

Many thanks to Leo and Bryan for the assistance they provided on this project.

Technologies Used

The following technologies have been utilized in this project:

Future Enhancement Ideas

Prerequisites

Before running the application, ensure you have the following software installed on your system:

Installation

  1. Clone the repository from GitHub: git clone git@github.com:Pythonidaer/reddie.git

  2. Navigate to the project directory: cd your-repo

  3. Install the dependencies (root and frontend folders both have package.json files): npm install

Configuration

  1. Create a .env file in the root directory of the project.

  2. Add the following environment variables to the .env file: NODE_ENV = your-node-env PORT = 5000 MONGO_URI = your-mongodb-uri JWT_SECRET = your-jwt-secret

Replace your-mongodb-uri with the connection string for your MongoDB database and your-jwt-secret with a secret key for JSON Web Token signing.

Usage

To start the application, run the following command: npm run dev

The application will be accessible at http://localhost:5000.

Testing

To run the tests, execute the following command: npx cypress open

This will run the Cypress end-to-end tests and display the test results.

Deployment

The application can be deployed to Heroku or any other hosting platform that supports Node.js applications. Make sure to configure the environment variables on the hosting platform as specified in the Configuration section.

License

This project is licensed under the MIT License.

Contributing

If you would like to contribute to this project, please follow these steps:

  1. Fork the repository on GitHub.
  2. Create a new branch with a descriptive name.
  3. Make your changes and commit them.
  4. Push your changes to your forked repository.
  5. Submit a pull request explaining your changes.

Please note that at this time, it may benefit you more to simply branch off and expand on your own Reddie App. A.M.A.

Acknowledgements

Contact

For any questions or inquiries, please contact codefolio.work@gmail.com.