Skip to content

nnez17/note-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note App IDCamp

A full-stack note-taking application built with modern web technologies.

Live Demo

Check out the live application at https://notekeep.up.railway.app/

Features

  • User authentication (register/login)
  • Create, read, update, and delete notes
  • Real-time note management
  • Responsive web interface
  • Firebase Firestore integration for data persistence

Tech Stack

  • Backend: ElysiaJS (Bun runtime)
  • Database: Firebase Firestore
  • Frontend: Vanilla HTML, CSS, JavaScript
  • Build Tool: Bun

Prerequisites

  • Bun (latest version)
  • Firebase project with Firestore enabled

Installation

  1. Clone the repository:

    git clone <repository-url>
    cd note-app-idcamp
  2. Install dependencies:

    bun install
  3. Set up Firebase:

Usage

Development

Run the development server:

bun run dev

The app will be available at http://localhost:3000

Production Build

Build the application:

bun run build

Start the production server:

bun run start

API Documentation

Authentication

  • POST /api/auth/register - Register a new user

    • Body: { "email": "string", "password": "string" }
  • POST /api/auth/login - Login user

    • Body: { "email": "string", "password": "string" }

Notes

  • GET /api/notes?userId=<userId> - Get all notes for a user

  • POST /api/notes - Create a new note

    • Body: { "title": "string", "content": "string", "userId": "string" }
  • PUT /api/notes/:id - Update a note

    • Body: { "title": "string", "content": "string" }
  • DELETE /api/notes/:id - Delete a note

Health Check

  • GET /api/health - Check server and database status

Project Structure

note-app-idcamp/
├── public/
│   ├── index.html
│   ├── global.css
│   └── script.js
├── src/
│   └── index.ts
├── package.json
├── tsconfig.json
├── bun.lock
└── README.md

About

A modern note-taking application with markdown support, built with Bun, ElysiaJS, and Firebase.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published