Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dubey-ji/managing_books
https://github.com/dubey-ji/managing_books
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dubey-ji/managing_books
- Owner: dubey-Ji
- Created: 2023-10-29T12:04:23.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-26T13:56:56.000Z (about 1 year ago)
- Last Synced: 2023-11-26T15:06:45.628Z (about 1 year ago)
- Language: JavaScript
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MANAGINGBOOKS
This is the readme file for Ubuntu and Linux Mint based systems.
### Install necessary packages```
sudo apt-get update
sudo apt-get install git -y
sudo apt-get install wget -y
```### Install NVM and node version 20.9.0
```
touch ~/.bash_profile
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | bash
source ~/.bash_profile
nvm install 20.9.0
nvm use 20.9.0
nvm alias default 20.9.0
npm config set registry http://registery.npmjs.org/
```### Install local dependencies from project directory
```npm install```### Creating a local mongodb Database
Install mongodb community server edition (version 7.0.2)
```
wget https://repo.mongodb.org/apt/ubuntu/dists/focal/mongodb-org/7.0/multiverse/binary-amd64/mongodb-org-server_7.0.2_amd64.deb
sudo dpkg -i mongodb-org-server_7.0.2_amd64.deb
sudo systemctl start mongod
```### Starting server on your machine
You can access the application at `localhost:3000` and the swagger ui explorer at `localhost:3000/explorer`
- Starting Node server
`node .` or `nodemon .`