Skip to content

R4Y-R4Y/web_services_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Web Service Project 👋

Web services project for course IT 325 Web services

This is a Web Service project built using the following stack:

TypeScript logo
TypeScript
Fastify logo
Fastify
Prisma logo
Prisma

PostgreSQL

It uses other technologies such as:

Swagger logo
Swagger
JSON Web Tokens logo
JSON Web Tokens
Zod logo
Zod
Zod logo
Faker

Version Documentation Maintenance

Entity Relationship Diagram

Entity Relationship Diagram

Install

npm install

Usage

npm run start

Run tests

npm run dev

Available Scripts

  • start: Start the production server
  • dev: Start the development server
  • mig: Run Prisma migrations
  • gen: Generate Prisma client
  • studio: Start Prisma Studio
  • faker: Generate fake data using Faker

Checking the Swagger Documentation in the API

To check the Swagger documentation for this project's API, follow these steps:

  1. Start the development server:
npm run dev
  1. Navigate to the Swagger documentation page in your web browser:

http://localhost:<insert your port from .env file here>/documentation

You should see a page that displays the documentation for all of the available API endpoints. You can use the Swagger documentation to try out different API requests and see the responses that they return.

Other Swagger Features

In addition to generating API documentation, Swagger also provides several other features that you may find useful. For example, you can use Swagger to:

  • Validate the requests and responses sent to and from the server
  • Automatically generate code for your API client
  • Integrate with other API development tools, such as Postman

To learn more about what Swagger can do for you, check out the Swagger website.

Author

👤 Rayen Nasraoui

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published