NotesApp is a free, simple note-taking application built with Node.js, Express and Mysql.
The project consists of the following main files:
app.js: The main application filepackage.json: Defines project dependencies and scripts.gitignore: Specifies files and directories to be ignored by Git
The project uses several npm packages, including:
- express
- express-ejs-layouts
- dotenv
- ejs
- mysql
- passport
- and others for authentication and session management
-
Clone the repository
-
Install dependencies:
npm install -
Create a
.envfile in the root directory and add your environment variables -
Start the server:
npm start
- Express server setup with EJS templating engine
- Static file serving
- Environment variable configuration with dotenv
- Basic routing setup
To run the application in development mode with auto-reloading:
npm run dev
This uses nodemon to automatically restart the server when files change.
Contributions are welcome. Please fork the repository and create a pull request with your changes.