Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pauleenaphan/express-locallibrary-tutorial
https://github.com/pauleenaphan/express-locallibrary-tutorial
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/pauleenaphan/express-locallibrary-tutorial
- Owner: pauleenaphan
- Created: 2024-06-17T20:23:02.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-19T04:04:06.000Z (7 months ago)
- Last Synced: 2024-11-11T10:36:52.609Z (2 months ago)
- Language: JavaScript
- Size: 66.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Library express tutorial
This is a [MDN Express Tutorial](https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs/Tutorial_local_library_website)
of how to set up a library using the framework express.[Live site, uploaded using glitch](https://harmless-flying-blade.glitch.me)
## Setup Instructions
1. Clone the repository.
```bash
git clone https://github.com/yourusername/yourrepository.git
cd yourrepository
```2. Install dependencies.
```bash
npm install
```3. Create a `.env` file in the root directory of the project, based on the `.env.example` file.
```bash
cp .env.example .env
```4. Edit the `.env` file and add your MongoDB URL.
```plaintext
DEV_DB_URL=your_mongodb_url_here
```5. Start the application.
```bash
npm start
```