-
Notifications
You must be signed in to change notification settings - Fork 0
NouhailaBenelfakir/StellarBlog
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
```markdown # StellarBlog StellarBlog is a Node.js and Express.js application for creating and managing blogs. It uses Firebase as the backend database and features HTML and CSS for the frontend. This platform allows users to create, read, update, and delete blog posts. ## Features - **User Authentication**: Secure user sign-up and login using Firebase Authentication. - **Create Posts**: Users can create and publish new blog posts. - **Read Posts**: View all published blog posts. - **Update Posts**: Edit and update existing blog posts. - **Delete Posts**: Remove blog posts that are no longer needed. - **Responsive Design**: Optimized for both desktop and mobile viewing. ## Technologies Used - **Frontend**: HTML, CSS - **Backend**: Node.js, Express.js - **Database**: Firebase Firestore - **Authentication**: Firebase Authentication ## Installation To run this project locally, follow these steps: 1. **Clone the repository**: ```bash git clone https://github.com/NouhailaBenelfakir/stellarBlog.git cd stellarBlog ``` 2. **Install dependencies**: ```bash npm install ``` 3. **Set up Firebase**: - Create a Firebase project at [Firebase Console](https://console.firebase.google.com/). - Enable Firestore and Authentication. - Copy your Firebase configuration and add it to a `.env` file in the root directory of your project: ```env FIREBASE_API_KEY=your_api_key FIREBASE_AUTH_DOMAIN=your_project_id.firebaseapp.com FIREBASE_PROJECT_ID=your_project_id FIREBASE_STORAGE_BUCKET=your_project_id.appspot.com FIREBASE_MESSAGING_SENDER_ID=your_messaging_sender_id FIREBASE_APP_ID=your_app_id ``` 4. **Run the application**: ```bash npm start ``` The application will be running at `http://localhost:3000`. ## Usage 1. **Sign up or Log in**: Create a new account or log in with an existing account. 2. **Create a Blog Post**: Navigate to the "Create Post" page and fill out the form to publish a new blog post. 3. **View Posts**: Browse through all the blog posts on the homepage. 4. **Edit Posts**: Click on a blog post to view it and use the edit option to update it. 5. **Delete Posts**: Remove posts that you no longer need. ## Contributing Contributions are welcome! Please follow these steps to contribute: 1. Fork the repository. 2. Create a new branch: `git checkout -b feature/your-feature-name`. 3. Make your changes and commit them: `git commit -m 'Add some feature'`. 4. Push to the branch: `git push origin feature/your-feature-name`. 5. Open a pull request. ## License This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details. ## Contact For any inquiries, please contact me at [email protected]. ```
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published