Northeastern-Electric-Racing / Northeastern-Electric-Racing/FinishLine

[Seed Data] - Create at least 3 Units

Open
#2,295 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

back-end straightforward
Dominant language
TypeScript
Stars
36
Forks
9
Avg merge
4d 21h
Merged PRs (30d)
11

Description

Description

We use the data in our test database to test and make sure our website works as expected. We currently have no Unit seed data. We want to create 3 units.

Acceptance Criteria
  • There are three units in the seed.ts file
  • You can see the units in the admin tools table
Proposed Solution

Look at the createUnit service method to see what data you need to define and pass as arguments. Also, look at the other ways we created seed data for guidance.

Mocks

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with seed.ts and inspect the createUnit service method to identify the required unit data. Review other seed data for guidance, create three units, and verify that all three appear in the admin tools table.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
database
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.