Sistemas Web II
  • TypeScript 100%
Find a file
2025-05-23 12:03:10 +02:00
.github/workflows feat(ci): add build workflow 2025-04-22 01:09:27 +02:00
docs docs: add presentation 2025-05-23 12:03:10 +02:00
seeds errors fixed 2025-05-19 14:31:05 +02:00
src feat: add XML response option to getSneakerReviews 2025-05-22 03:38:34 +02:00
.env.example feat: add æctual external API URL to .env.example file 2025-05-20 18:50:54 +02:00
.gitignore feat: add database connection and data seeding 2025-04-22 00:45:14 +02:00
LICENSE feat: initial commit 2025-02-28 18:14:49 +01:00
package-lock.json feat: add XML response option to getSneakerReviews 2025-05-22 03:38:34 +02:00
package.json feat: add XML response option to getSneakerReviews 2025-05-22 03:38:34 +02:00
README.md docs: update README with docs link and add some enhancement 2025-05-20 18:48:01 +02:00
tsconfig.json feat: add database connection and data seeding 2025-04-22 00:45:14 +02:00

Proyecto - Sistemas Web II

This repository is dedicated to the 'Sistemas Web II' course project.

Group members: Khalid Belkassmi E.H., Elena Yunxin Cores Smith, Enrique Collado Muñoz, Jesús Marín Sánchez, Pablo Garay Pérez, Yolanda Llop Pellisa.

About this project 💡

The goal: Create a comprehensive RESTful API using Node.js that integrates with MongoDB, a non-relational database. The API will support both JSON and XML message formats, enabling flexible data exchange.

What we built: A Sneakers API

The Chosen Stack: Node.js & Express, MongoDB as the database, with Typescript as the language.

All documentation can be found in the docs directory.

Usage 🕹

Setup and Running

  1. Copy the contents of .env.example to a new .env file with the command:

    cp .env.example .env

  2. Follow these steps:

    First, install dependencies:

    npm install
    # or
    yarn install
    # or
    pnpm install
    # or
    bun install
    

    Then run (dev mode) - Start the development server.

    npm run dev
    # or
    yarn dev
    # or
    pnpm dev
    # or
    bun dev
    

    This will launch the server on port 8080 (http://localhost:8080/)

Production build

To compile for production deployment and start the server :

npm run build && npm run start
# or
yarn build && yarn start
# or
pnpm build && pnpm start
# or
bun run build && bun run start

License 📃

This project is licensed under the MIT License - see the LICENSE file for details.