https://github.com/syscoin/notary-endpoint
https://github.com/syscoin/notary-endpoint
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/syscoin/notary-endpoint
- Owner: syscoin
- Created: 2021-01-05T18:57:03.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-16T17:09:37.000Z (about 5 years ago)
- Last Synced: 2024-04-18T03:45:58.021Z (about 2 years ago)
- Language: TypeScript
- Size: 401 KB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Microservice Base
=================
Installing
----------
`git clone git@github.com:syscoin/notary-endpoint.git`
`npm install`
Generating Swagger
------------------
`npm run swaggergen`
MongoDB Setup
-------------
[as per Mongo DB page](https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/)
Import the public key used by the package management system.
`wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -`
Create a list file for MongoDB.
`echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list`
Install the MongoDB packages.
```
sudo apt-get update
sudo apt-get install -y mongodb-org
```
Start MongoDB
`sudo systemctl start mongod`