An API developed in NodeJS for the Introduction to Software Engineering class, in order to explain about software testing with a focus on unit tests, integration tests and test coverage.
- NodeJS and NPM: https://nodejs.org/en/
- Yarn (optional): https://yarnpkg.com/getting-started/install
- VS Code: https://code.visualstudio.com
- Insomnia: https://insomnia.rest/download
git clone https://github.com/joaogabriel-sg/cadastro-de-calouros.git
cd cadastro-de-calouros
npm install
# or
yarn
npm run dev
# or
yarn dev
npm test
# or
yarn test
GET /students Get students
GET /students/{id} Get a student
POST /students Create a new student
PUT /students/{id} Update an existent student
DELETE /students/{id} Delete a student
interface Student {
id: string,
name: string,
email: string,
cep: number,
address: string,
number: number,
neighborhood: string,
city: string,
uf: string,
degree: string,
age: number,
},