Skip to content

ycode37/Nodejs-Todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File Management System

A simple file management system built with Node.js and Express that allows users to create, view, and manage text files through a web interface.

Features

  • Create new text files
  • View list of all files
  • Read file contents
  • Simple and intuitive web interface

Prerequisites

  • Node.js (v12 or higher)
  • npm (Node Package Manager)

Installation

  1. Clone the repository:
git clone <your-repository-url>
cd second
  1. Install dependencies:
npm install

Usage

  1. Start the server:
node index.js
  1. Open your web browser and navigate to:
http://localhost:3000

Project Structure

├── files/           # Directory for storing text files
├── public/          # Static files (CSS, client-side JS)
├── views/           # EJS templates
├── index.js         # Main application file
└── package.json     # Project dependencies and scripts

Technologies Used

  • Node.js
  • Express.js
  • EJS (Embedded JavaScript templating)
  • File System (fs) module

API Endpoints

  • GET / - Display list of all files
  • POST /create - Create a new text file
  • GET /file/:filename - View contents of a specific file

License

ISC

Author

[Your Name]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published