Codeial is a web application built using Node.js, Express, and Mongoose. It serves as a platform for users to post, comment, and interact with content in a social media-like environment.
- User authentication and authorization using Passport.js
- Create, edit, and delete posts
- Comment on posts
- Like and unlike posts
- Real-time chat feature
- Responsive design
-
Clone the repository: git clone https://github.com/yourusername/codeial.git
-
Navigate to the project directory:
cd codeial
-
Install dependencies:
npm install
-
Set up your environment variables. Create a .env file in the root directory and add the following:
- PORT=8000
- DB_URI=your_mongodb_uri
- SESSION_SECRET=your_secret_key
-
Run the project:
npm start
-
To build assets:
gulp build
- Register or log in to your account.
- Create new posts and interact with other users by liking or commenting on their posts.
- Use the chat feature to communicate with other users in real-time.
- codeial/
- │
- ├── assets/
- ├── css/
- ├── js/
- ├── scss/
- └── images/
- ├── config/
- ├── controllers/
- ├── node-modules/
- ├── models/
- ├── routes/
- ├── views/
- ├── .gitignore
- ├── gulpfile.mjs
- ├── package.json
- └── README.md
- Node.js - JavaScript runtime
- Express - Web framework for Node.js
- Mongoose - MongoDB object modeling for Node.js
- Passport.js - Authentication middleware for Node.js
- Gulp - Task runner for building assets
- Sass - CSS preprocessor
Contributions are welcome! Please fork this repository, make your changes, and submit a pull request.
- Thanks to OpenAI for providing API access.
- Inspiration and resources from FreeCodeCamp.