A web-based journaling application with a Node.js backend and MongoDB database.
- Daily journal entries with date selection
- Secure access with basic authentication
- Persistent storage using MongoDB
- Simple and clean user interface
- REST API endpoints for journal operations
- Node.js (>=0.12)
- MongoDB (running on port 27017)
- npm
- Clone the repository
- Install dependencies:
npm install- Make sure MongoDB is running locally
- Start the application:
npm startThe server will start on http://localhost:3000
GET /entry- Retrieve all journal entriesPOST /entry- Create a new journal entryGET /entry/:id- Get a specific entry by IDPUT /entry/:id- Update a specific entry
The application uses basic authentication:
- Default credentials:
- Username:
admin - Password:
admin
- Username:
- Backend:
- Express.js
- Mongoose
- MongoDB
- Frontend:
- HTML5
- CSS3
- Vanilla JavaScript
To run the application in development mode with auto-reload:
npm start- Basic authentication for web interface
- CORS enabled
- Protected by Snyk for vulnerability monitoring
ISC
MariusC