Cocoon is an article posting website built with React and Firebase. Users can post articles, like, comment, and interact with other users. It features a rich text editor to provide a seamless article writing experience.
- Rich Text Editor: Create and edit articles with a full-featured editor.
- User Interaction: Like, comment, and interact with articles.
- Real-time Updates: Powered by Firebase for real-time updates.
- Responsive Design: Accessible on all devices.
- Frontend: React, React Router
- Backend: Firebase Firestore
- Authentication: Firebase Authentication
- Text Editor: Tiptap
- Hosting: Firebase Hosting
- Styling: CSS Modules
-
Clone the repository:
git clone https://github.com/your-username/cocoon.git
-
Navigate to the project directory:
cd cocoon
-
Install the dependencies:
npm install
-
Create a
.env
file in the root directory and add your Firebase configuration:REACT_APP_FIREBASE_API_KEY=your-api-key REACT_APP_FIREBASE_AUTH_DOMAIN=your-auth-domain REACT_APP_FIREBASE_PROJECT_ID=your-project-id REACT_APP_FIREBASE_STORAGE_BUCKET=your-storage-bucket REACT_APP_FIREBASE_MESSAGING_SENDER_ID=your-messaging-sender-id REACT_APP_FIREBASE_APP_ID=your-app-id
-
Start the development server:
npm start
-
Open your browser and navigate to
http://localhost:3000
.
- Sign Up/Log In: Create an account or log in to start posting articles.
- Create an Article: Use the rich text editor to write and format your article.
- Interact: Like and comment on articles to engage with the community.
No contribution opened right now. Just for viewing source code and experiencing it.
This project is licensed under the MIT License.
For any inquiries or support, please contact your team: ishanawal68@gmail.com nikitashrestha345@gmail.com probinpun@gmail.com