Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hardeep-bit/saguna-api
Saguna Coding Test
https://github.com/hardeep-bit/saguna-api
Last synced: 10 days ago
JSON representation
Saguna Coding Test
- Host: GitHub
- URL: https://github.com/hardeep-bit/saguna-api
- Owner: hardeep-bit
- Created: 2022-01-27T14:53:22.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-27T15:06:27.000Z (about 3 years ago)
- Last Synced: 2024-11-22T07:42:58.531Z (2 months ago)
- Language: JavaScript
- Size: 65.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# To Run this code
- Step 1: Clone the repository
- Open VSCode, Open the Cloned folder from VSCode
- Step 2: Open VSCode CMD, Run this command `npm install`
- Step 3: Now Run `npm start`If you see your CMD with these lines, then it means your server is up. Cheers!!!
```
[app] listening on 9000
listening on 9000
environment is LOCAL
DB Connected
```If you face any issues please connect with me, i will happy to help you!
# API's Docs
## Associates Masters API's
### Create Associates Masters API
URL
`http://localhost:9000/api/associatesMasters/create`Payload
```
{
associateSpecializeInIds=[],
associateName,
associatePhone,
associateAddress
}```
### GET Associates Master API
URL
`http://localhost:9000/api/associatesMasters/:associatesMasterId`
Params```
associatesMasterId // it is mandatory
```### Get Associates Masters or Search By Name API
URL
`http://localhost:9000/api/associatesMasters`Query Params
```
associateName // default is ''
```## Specialization Masters API's
### Create Specialization Masters API
URL
`http://localhost:9000/api/specializationMasters/create`Payload
```
{
specializationName // it is mandatory
}```
### Get Specialization Masters Name API
URL
`http://localhost:9000/api/specializationMasters`