This application is the back-end server for the StackPedia front end React application.
- Clone down this repository.
git clone [email protected]:dkwon1223/stack-pedia-api.git
- Change into the new directory.
cd stack-pedia-api
- Install the dependencies.
npm install
- To fire up the server, run
node server.js
ORnodemon server.js
.
url | verb | options | sample response |
---|---|---|---|
http://localhost:8080/api/v1/technologies/all |
GET | not needed | Array of all existing technologies: [{ _id: 5, name: 'Python', type: 'Programming Language'...}, {_id: 6, name: "Java", type: "Programming Language"...}, ... ] |
http://localhost:8080/api/v1/technologies/:category |
GET | not needed | Array of technologies sorted by category: [{overall_type: <category>}, {overall_type: <category>}... ] |
http://localhost:8080/api/v1/technology/:id |
GET | not needed | Single technology by id: {_id: <id>...} |
http://localhost:8080/api/v1/stacks/all |
GET | not needed | Array of all existing stacks: [{ _id: 5, name: 'MERN Stack', type: 'fullstack'...}, {_id: 6, name: "LAMP Stack", type: "fullstack"...}, ... ] |
http://localhost:8080/api/v1/stacks/:type |
GET | not needed | Array of stacks sorted by category: [{overall_type: <category>}, {overall_type: <category>}... ] |
http://localhost:8080/api/v1/stack/:id |
GET | not needed | Single stack by id: {_id: <id>...} |
url | verb | options | sample response |
---|---|---|---|
https://stack-pedia-api.adaptable.app/api/v1/technologies/all |
GET | not needed | Array of all existing technologies: [{ _id: 5, name: 'Python', type: 'Programming Language'...}, {_id: 6, name: "Java", type: "Programming Language"...}, ... ] |
https://stack-pedia-api.adaptable.app/api/v1/technologies/:category |
GET | not needed | Array of technologies sorted by category: [{overall_type: <category>}, {overall_type: <category>}... ] |
https://stack-pedia-api.adaptable.app/api/v1/technology/:id |
GET | not needed | Single technology by id: {_id: <id>...} |
https://stack-pedia-api.adaptable.app/api/v1/stacks/all |
GET | not needed | Array of all existing stacks: [{ _id: 5, name: 'MERN Stack', type: 'fullstack'...}, {_id: 6, name: "LAMP Stack", type: "fullstack"...}, ... ] |
https://stack-pedia-api.adaptable.app/api/v1/stacks/:type |
GET | not needed | Array of stacks sorted by category: [{overall_type: <category>}, {overall_type: <category>}... ] |
https://stack-pedia-api.adaptable.app/api/v1/stack/:id |
GET | not needed | Single stack by id: {_id: <id>...} |