Api for playing around with dummy data. Feel free to use it in your demo projects, tutorials, or testing tasks.

Overview

dummy-api

Api similar to dummy-api

Api for playing around with dummy data. Feel free to use it in your demo projects, tutorials, or testing tasks.

  • All authorization headers are optional

  • listing api default page = 1, default per page = 20

documentation: https://documenter.getpostman.com/view/3827865/Uyr8kHHD

swagger url: https://dummy-api-nestjs.herokuapp.com/api

api url: https://dummy-api-nestjs.herokuapp.com/

Requirement

  • install yarn
  • install node (v14+)

Testing and run

// test api in local
$ yarn run start:dev

// run in production
$ yarn run start:prod

// lint code
$ yarn run lint

// format code
$ yarn run format

// run test case
$ yarn run test

// create module
$ nest g module <module-name>

// create controller
$ nest g controller <controller-name>

// create service
$ nest g service <service-name>

// generate schema.prisma and prisma client
$ yarn run prisma:generate

// create migration file if schema.prisma changed
$ yarn run prisma:migrate:dev

// reset database
$ yarn run prisma:migrate:reset

// apply pending migrations in the production/staging database
$ yarn run prisma:migrate:deploy

// check migrations status in the production/staging database
$ yarn run prisma:migrate:status

// push schema.prisma state to database
$ yarn run prisma:db:push

// seed data to database
$ yarn run prisma:db:seed

// format schema.prisma
$ yarn run prisma:format

// open prisma studio
$ yarn run prisma:studio

Docker

// build images and start container in one line
docker-compose up -d --build

// go inside container
docker exec -it <containerId> /bin/bash

// check container logs
docker logs <containerId>

// remove and stop container
docker-compose down

open localhost:3000

You might also like...

A testing focused Remix Stack, that integrates E2E & Unit testing with Playwright, Vitest, MSW and Testing Library. Driven by Prisma ORM. Deploys to Fly.io

A testing focused Remix Stack, that integrates E2E & Unit testing with Playwright, Vitest, MSW and Testing Library. Driven by Prisma ORM. Deploys to Fly.io

Live Demo · Twitter A testing focused Remix Stack, that integrates E2E & Unit testing with Playwright, Vitest, MSW and Testing Library. Driven by Pris

Oct 31, 2022

Feel free to create new file, don't hesitate to pull your code, the most important thing is that the file name here must match your nickname so that file does not conflict with other people.

Hacktoberfest Indonesia Apa Itu Hacktoberfest ? Hacktoberfest adalah acara tahunan yang bertujuan untuk mendorong berkontribusi kedalam ekosistem open

Dec 15, 2022

Apinto document project, which includes the use tutorials, development documents and other related contents of apinto.

apinto-docs Apinto document project, which includes the use tutorials, development documents and other related contents of apinto. README 本文档由 VuePres

Dec 1, 2022

A to do list where you can add tasks, mark completed tasks and clear all completed tasks.

A to do list where you can add tasks, mark completed tasks and clear all completed tasks.

To Do List A to do list where you can add tasks, mark completed tasks and clear all completed tasks. You can rearrange the order of the tasks by doubl

Mar 4, 2022

This project entails a To-do-List whereby a user can input the tasks they want to do, check the tasks done and also clear all tasks when all of them are completed. It is efficient for a user who want to manage their time and keep track of their day.

This project entails a To-do-List whereby a user can input the tasks they want to do, check the tasks done and also clear all tasks when all of them are completed. It is efficient for a user who want to manage their time and keep track of their day.

Screenshot Here is a screenshot for the project. To-Do-List Project This is a Microverse project that entails a to-do-list which one is able to add an

Jun 16, 2022

To Do list is a small but useful project to make list app , you can add tasks delete tasks and modify tasks, the project built using HTML, CSS, JavaScript

Project Name The To-Do-List app description this is a project in the second week of the second module in microverse. its a useful to do list that save

Jul 25, 2022

A simple to do list app built with HTML, CSS and JavaScript. Users can add daily tasks, edit the tasks, delete the tasks when it's done

To Do List This is a website that allows users to manage the tasks. users can add every task to do and when the task is done users can delete the task

Jul 21, 2022

This repo is a collection of code samples and links to previous twitch live stream sessions. If you have any ideas or suggestions for future episodes, feel free to open an issue.

Talk DEV to me Talk DEV to me is a monthly show on twitch.tv/aws hosted by Tiago Barbosa and Alex Melnyk, where we invite customers, partners, or Amaz

Jan 6, 2023

A NodeJS Replit API package wrapped around GraphQL, returning JSON data for easy use.

repl-api.js A NodeJS Replit API package wrapped around GraphQL, returning JSON data for easy use. Contents: About Quickstart Pre-installation Installa

May 20, 2022
Comments
  • Configure Renovate

    Configure Renovate

    Mend Renovate

    Welcome to Renovate! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin.

    🚦 To activate Renovate, merge this Pull Request. To disable Renovate, simply close this Pull Request unmerged.


    Detected Package Files

    • docker-compose.yml (docker-compose)
    • Dockerfile (dockerfile)
    • package.json (npm)

    Configuration

    🔡 Renovate has detected a custom config for this PR. Feel free to ask for help if you have any doubts and would like it reviewed.

    Important: Now that this branch is edited, Renovate can't rebase it from the base branch any more. If you make changes to the base branch that could impact this onboarding PR, please merge them manually.

    What to Expect

    With your current configuration, Renovate will create 20 Pull Requests:

    chore(deps): update dependency @​types/jest to v27.5.2
    • Schedule: ["at any time"]
    • Branch name: renovate/jest-monorepo
    • Merge into: main
    • Upgrade @types/jest to 27.5.2
    chore(deps): update node.js to v14.21
    • Schedule: ["at any time"]
    • Branch name: renovate/node-14.x
    • Merge into: main
    • Upgrade node to 14.21-alpine
    chore(deps): update postgres docker tag to v12.13
    • Schedule: ["at any time"]
    • Branch name: renovate/postgres-12.x
    • Merge into: main
    • Upgrade postgres to 12.13
    fix(deps): update dependency axios to ^0.27.0
    • Schedule: ["at any time"]
    • Branch name: renovate/axios-0.x
    • Merge into: main
    • Upgrade axios to ^0.27.0
    chore(deps): update dependency @faker-js/faker to v7
    • Schedule: ["at any time"]
    • Branch name: renovate/faker-js-faker-7.x
    • Merge into: main
    • Upgrade @faker-js/faker to ^7.0.0
    chore(deps): update dependency @​nestjs/cli to v9
    • Schedule: ["at any time"]
    • Branch name: renovate/nestjs-cli-9.x
    • Merge into: main
    • Upgrade @nestjs/cli to ^9.0.0
    chore(deps): update dependency @​types/node to v18
    • Schedule: ["at any time"]
    • Branch name: renovate/node-18.x
    • Merge into: main
    • Upgrade @types/node to ^18.0.0
    chore(deps): update dependency husky to v8
    • Schedule: ["at any time"]
    • Branch name: renovate/husky-8.x
    • Merge into: main
    • Upgrade husky to ^8.0.0
    chore(deps): update dependency tsconfig-paths to v4
    • Schedule: ["at any time"]
    • Branch name: renovate/tsconfig-paths-4.x
    • Merge into: main
    • Upgrade tsconfig-paths to ^4.0.0
    chore(deps): update jest monorepo to v29 (major)
    • Schedule: ["at any time"]
    • Branch name: renovate/major-jest-monorepo
    • Merge into: main
    • Upgrade @types/jest to 29.2.4
    • Upgrade jest to ^29.0.0
    • Upgrade ts-jest to ^29.0.0
    chore(deps): update node.js to v19
    • Schedule: ["at any time"]
    • Branch name: renovate/node-19.x
    • Merge into: main
    • Upgrade node to 19.3-alpine
    chore(deps): update postgres docker tag to v15
    • Schedule: ["at any time"]
    • Branch name: renovate/postgres-15.x
    • Merge into: main
    • Upgrade postgres to 15.1
    fix(deps): update dependency @​nestjs/swagger to v6
    • Schedule: ["at any time"]
    • Branch name: renovate/nestjs-swagger-6.x
    • Merge into: main
    • Upgrade @nestjs/swagger to ^6.0.0
    fix(deps): update dependency axios to v1
    • Schedule: ["at any time"]
    • Branch name: renovate/axios-1.x
    • Merge into: main
    • Upgrade axios to ^1.0.0
    fix(deps): update dependency helmet to v6
    • Schedule: ["at any time"]
    • Branch name: renovate/helmet-6.x
    • Merge into: main
    • Upgrade helmet to ^6.0.0
    fix(deps): update dependency jsonwebtoken to v9
    • Schedule: ["at any time"]
    • Branch name: renovate/jsonwebtoken-9.x
    • Merge into: main
    • Upgrade jsonwebtoken to ^9.0.0
    fix(deps): update dependency nest-raven to v9
    • Schedule: ["at any time"]
    • Branch name: renovate/nest-raven-9.x
    • Merge into: main
    • Upgrade nest-raven to ^9.0.0
    fix(deps): update dependency newrelic to v9
    • Schedule: ["at any time"]
    • Branch name: renovate/newrelic-9.x
    • Merge into: main
    • Upgrade newrelic to ^9.0.0
    fix(deps): update nest monorepo to v9 (major)
    fix(deps): update sentry-javascript monorepo to v7 (major)
    • Schedule: ["at any time"]
    • Branch name: renovate/major-sentry-javascript-monorepo
    • Merge into: main
    • Upgrade @sentry/node to ^7.0.0
    • Upgrade @sentry/tracing to ^7.0.0

    🚸 Branch creation will be limited to maximum 2 per hour, so it doesn't swamp any CI resources or overwhelm the project. See docs for prhourlylimit for details.


    ❓ Got questions? Check out Renovate's Docs, particularly the Getting Started section. If you need any further assistance then you can also request help here.


    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 2
Releases(v0.1.10)
Owner
Donald Wu
Software Developer, love React, React Native, Node.js, Python, Ruby, GraphQL, AWS and Serverless Framework.
Donald Wu
Aron 8 Dec 17, 2022
This is a To-Do List. It shows a minimalist design with the next features: Add new tasks, edit tasks, markup completed tasks, and erase all completed tasks. Built with JavaScript.

Project Name To Do List Built With HTML CSS JavaScript Live Demo To do List Live Demo Link Getting Started This is a To Do List. It shows a minimalist

Santiago Cárdenas 6 Jun 9, 2022
A simple JS To Do List bundled using Webpack. You can add new tasks, edit existing tasks, check completed tasks, and delete tasks from the list. It is built mainly with Javascript.

To-Do-List A simple HTML list of To Do built using webpack and served by a webpack dev server. Live Link See Demo Built With HTML, CSS, Javascript To

Michael Ugochukwu 3 May 10, 2022
JOSE ZEPEDA 10 Nov 18, 2022
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
This is a dummy website for company that provides commercial and scientific space travel services

This is a dummy website for company that provides commercial and scientific space travel services. This application will allow users to book rockets and join selected space missions.

David Ouma 2 Apr 14, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
Next.js app using some dummy Tailwind CSS components

This is a Next.js project bootstrapped with create-next-app. Getting Started First, run the development server: npm run dev # or yarn dev Open http://

Claudson Martins 1 Oct 12, 2022