- Notifications
You must be signed in to change notification settings - Fork164
Sample App used in the hands-on labs during Developer Days
License
mongodb-developer/library-management-system
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This is a library management system built with the MEAN (MongoDB, Express, Angular, Node.js) stack.
Clone the repository.
git clone git@github.com:mongodb-developer/library-management-system.git libraryInstall the dependencies in the root level of the project.
library/
npm installSet yourAtlas URI connection string, database name and server port in
server/.env. Make sure you replace the username and password placeholders with your own credentials.library/server/.env
PORT="5400"DATABASE_URI="mongodb+srv://<username>:<password>@m0.kwqkoewm.mongodb.net"DATABASE_NAME="library"SECRET="secret"Start theserver application.
library/server/
npm install && npm startOpen a new terminal window and start theclient application.
library/client/
npm install && npm startWhen both applications are built and running, open your browser onhttp://localhost:4200/.
Currently, the project has only API tests implemented withsupertest andmocha. To execute them, navigate to theserver/ directory and run:
library/server/
npm testThe project utilizesHusky to execute actions before every commit. The pre-commit hook, located in.husky/pre-commit, lints the code and runs the API tests.
Use at your own risk; not a supported MongoDB product
About
Sample App used in the hands-on labs during Developer Days
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.
Contributors4
Uh oh!
There was an error while loading.Please reload this page.