Skip to content

Akash972004/NoteShelf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

NoteShelf πŸ“‚

A simple Node.js + Express + EJS application to create, store, and view text files from your browser. It uses the local filesystem to save and read .txt files.

πŸŽ₯ Preview

image image

πŸš€ Features

  • Create text files with a title and content.
  • View a list of all stored files.
  • Open and read the contents of any file.
  • Edit and update existing files.
  • Simple UI using EJS templates.

πŸ“‚ Project Structure

  • files/ β†’ Stores all text files.
  • public/ β†’ Static assets (CSS, JS, images).
  • views/ β†’ EJS templates (index.ejs, show.ejs).
  • app.js β†’ Main Express app.
  • package.json β†’ Project dependencies.

πŸ› οΈ Installation & Setup

  1. Clone the repo:
    git clone https://github.com/Akash972004/NoteShelf.git
    cd fileboard
    

Install dependencies: npm install mkdir files node app.js πŸ“œ Routes GET / β†’ List all files.

GET /file/:filename β†’ View file content.

GET /edit/:filename β†’ Load file in edit mode.

POST /create β†’ Create a new file.

POST /update/:filename β†’ Save changes to an existing file. πŸ“¦ Dependencies express ejs path fs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published