Skip to content

Website for creating and manipulating tasks using node ,express and mongoDB

Notifications You must be signed in to change notification settings

AyhanAllahverdiyev/Tasks_Website--Node.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task Management Website

This website embodies the idea and exemplifies the use of a proper project file system. Furthermore, it implements the standard for project architecture using the MVC model.Also practices the use of the latest technology in database integration and manipulation.

Table of Contents

  • Introduction
  • Features
  • Getting Started
    • Prerequisites
    • Installation
  • Usage
  • Technologies
  • Contributing
  • License

Introduction

This web application allows users to manage tasks, including creating, viewing details, and deleting tasks. It's built using MongoDB, Express.js, and Node.js, following the MVC (Model-View-Controller) architectural pattern.

Features

  • View tasks on the home page.
  • Create new tasks.
  • View detailed information about a task.
  • Delete tasks.

Getting Started

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Node.js and npm installed on your machine.
  • MongoDB set up with a database for storing tasks.

Installation

  1. Clone the repository: git clone https://github.com/AyhanAllahverdiyev/Tasks_Website.git

  2. Install dependencies:

  3. Configure environment variables: Create a .env file in the root of the project and add the following: PORT=3000 # Set your desired port number and a connection string for your own mongodb database.(can't provide my own connection string because of obvious reasons and limited database access) image

Replace your-database with your MongoDB database name.

  1. Start the server: npm start

  2. Access the application: Open your web browser and go to http://localhost:3000 (or the port you specified).

Usage

  1. Home Page: Access the home page to view all tasks. You can create a new task by clicking on the "Create Task" button. image

  2. Create a Task: Click on "Create Task" and fill in the required details. Click "Submit" to create a new task. image image

  3. Task Details: Click on a task to view its detailed information. From here, you can choose to delete the task. image

  4. Delete a Task: In the task details page, click on "Delete Task" to remove the task. image Accessing the MongoDB database and deleting the corresponding document.This was easily done because we used modelling,making the contents of the data highly accessible image

  5. About a Tasks image

Technologies

  • MongoDB: A NoSQL database used to store task information.
  • Express.js: A backend framework for handling HTTP requests, routes, and middleware.
  • Node.js: A JavaScript runtime environment used for building server-side applications.

Contributing

  1. Fork the repository.
  2. Create a new branch for your feature: git checkout -b feature-name.
  3. Commit your changes: git commit -m 'Add new feature'.
  4. Push to the branch: git push origin feature-name.
  5. Submit a pull request.

License

This project is licensed under the MIT License.


About

Website for creating and manipulating tasks using node ,express and mongoDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages