This is a simple blog application built with Node.js, Express, and MongoDB on the backend, and Angular on the frontend. Users can create, update, and delete blog posts. Each post includes a title, content, and an image. Users can also create and edit their profiles, which include a username, bio, and profile picture.
- User Authentication: Sign up, log in, and access control.
- CRUD Operations: Create, read, update, and delete blog posts.
- Image Upload: Users can upload images for their blog posts and profile picture.
- Profile Management: Users can create and edit their profiles.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Node.js
- MongoDB
- Angular CLI
- Clone the repository:
git clone https://github.com/yourusername/blog-app.git
- Install Node.js dependencies:
npm install
- Navigate to the
front-end
directory and install Angular dependencies:npm install
- Create your MongoDB database update the MongoDB URL in
backend/db/db.js
- Start the backend server:
npm run start:server
- Start the frontend server:
ng serve
- Open your browser and navigate to
http://localhost:4200
.
- Node.js - JavaScript runtime
- Express - Web application framework
- MongoDB - Database
- Mongoose - MongoDB object modeling for Node.js
- Angular - Frontend framework
- SCSS - CSS preprocessor
This project is licensed under the MIT License - see the LICENSE.md file for details