{"repo":"niksumeiko/space-mission","free":true,"listed":false,"github":"https://github.com/niksumeiko/space-mission","clone":"git clone https://github.com/niksumeiko/space-mission.git","description":"A kata project to practice Test Driven Development with Nextjs.","language":"TypeScript","stars":13,"topics":["nextjs","reactjs","tdd","tdd-kata","training-project"],"license":null,"category":"databases-storage","readme_excerpt":"🚀 &nbsp; Space mission kata &nbsp; A kata project to practice Test Driven Development with Nextjs. &nbsp; Project description The app enables to launch space missions by retrieving an available rocket, free astronauts, selecting a destination planet, explore estimated costs and launch the mission. 🎯 The goal is to implement business requirements described under #1 Launch a mission using Test Driven Development XP technique. &nbsp; Getting started This is a Next.js project bootstrapped with create-next-app . Create a Neon database 1. Sign up to https://neon.tech 2. Create a new project 3. Click the \"Connect to your database\" 4. Copy the connection string/url 5. Create the .env file in this repository: 6. Add migration and seed the table with default row: Unveil local API url In the .env file, add the following line: Start the app Run the development server: Open http://localhost:3000 with your browser to see the result. The auto-updates are enabled in favour to see made code changes as you edit files. &nbsp; Testing The project is configured for different types of tests. ⚠️ Docker is required to run tests. Make sure it's installed and running before executing the tests. Unit tests (vitest) will execute files matching tests / .test.ts pattern: Integration tests (cypress) will pick files matching tests / .test.integration.ts pattern: ⚠️ For Integration tests, the app is compiled and running with the NEXT PUBLIC PHASE=test environmental variable. &nbsp; Author / trainer This pr","default_branch":null,"files":null,"tree":[],"storefront":"/r/niksumeiko","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/niksumeiko/space-mission/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}