MyReddit is a simple clone of the popular social media platform Reddit. It allows users to create accounts, post content, and vote on posts.
- HTML, CSS, JS ,DOM manipulation
- Node.js
- Express.js
- PostgreSQL
- Authentication and Authorization
- Clone the repository to your local machine.
- Navigate to the project directory in your terminal.
- Run npm install to install the necessary dependencies.
- Create a new PostgreSQL database for the project.
- Create a .env file in the project directory and add your database connection information using the following format:
- DATABASE_URL=postgres://username:password@localhost:5432/myreddit
- Run the database .
- Start the server using npm start.
- Open your web browser and navigate to http://localhost:8000 to access the application.
- Farah Alhalimi