JAndrew13 / LittleToDo

A basic To-Do List web application that allows for custom list creation using mongoDB Atlas for storage. Built with bootstrap & hosted on Azure.

Home Page:https://littletodo.jakebrunner.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Little To-Do List stable

Little To-Do List is a JavaScript app I created that allows users to create/delete tasks on a custom list. This project focused on compartmentalizing HTML and JS components to create and store dynamically created custom lists, each storing a unique set of tasks on a local database.

Originally the project was hosted on a Heroku cloud server, but has since been retired to my local machine. If you'd like to check out the application, feel free to clone the repository and spin up a version on your own machine using the instructions below!

Take a look at the live project

Table of contents

Prerequisites

(optional setup with MongoDB Atlas Cloud Database)

Installation

  1. clone the repository to your desired location.
  2. Install the required packages in the terminal $ npm install
  3. To run the website as is, start the app from your terminal with, $node app.js
  4. In you browser's address bar, navigate to http://http://localhost:3000/

MongoDB Atlas Setup

  1. Create a MongoDB Atlas Account
  2. Select your desired settings and create a new Cluster
  3. Find the "connect to application" option, and obtain a new SRV Key.
  4. In the root project folder, create a new file called .env
  5. Edit the new .env file, and enter this line at the top of the file. MONGO_ATLAS_KEY= (Enter your SRV Key here)
  6. Save the file.

Starting the application locally

  1. On Windows, open the command terminal and navigate to your project folder.
  2. Install the required packages using $npm install
  3. Start the application on your local server with node app.js
  4. If there are no errors, then you can head to http://localhost:3000 in your web browser

(back to top)

Usage

Once you are successfully connected to the website, you'll be greeted by a fresh To-Do list with a few tutorial items explaining how to interact with the site.

List controls

Create new item Simply type out the item description, then click the + button on the right to add a new item to your list.

Deleting a list item To delete a completed task, click the empty checkbox on the left of your item.

Creating a new list Lists are created and saved dynamically by adding a /new_list_name to the end of the html address. For example, entering localhost:3000/workshop into the address bar will create and save a new empty list to the database

Directory

Folder containing CSS style sheet linked to the HTML document

Contains all pages and components used in the website

/Views/about Html component for the about page

/Views/footer Html component for the website's footer

/Views/header html component for the websites header

/Views/list html component for the main To-Do list

(back to top)

Contact

Jake Brunner - jbbrunner10@gmail.com

LinkedIn - https://www.linkedin.com/in/jake-brunner-21760522b/

This Repository - https://github.com/jandrew13/Web-Dev-Bootcamp

(back to top)

Acknowledgments

(back to top)

About

A basic To-Do List web application that allows for custom list creation using mongoDB Atlas for storage. Built with bootstrap & hosted on Azure.

https://littletodo.jakebrunner.com


Languages

Language:JavaScript 55.2%Language:CSS 23.0%Language:EJS 17.2%Language:Dockerfile 4.6%