Coder Social home page Coder Social logo

mhenke / omaha-playground-collective Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 3.08 MB

omaha playground collective

Home Page: https://omahaplaygroundcollective.com

License: Creative Commons Zero v1.0 Universal

JavaScript 5.04% TypeScript 93.61% CSS 0.05% Dockerfile 1.31%
fun nebraska omaha parks playgrounds

omaha-playground-collective's People

Contributors

mhenke avatar semgrep-bot avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

omaha-playground-collective's Issues

manage playground information

User Story
As an administrator, I want to manage playground information to ensure it's up-to-date and accurate.

Acceptance Criteria
Given that I am an administrator responsible for managing playground information, when I update playground details, then the changes should be reflected in the app, and the information should remain accurate.

  1. The platform should provide an interface for administrators to edit, update, and delete playground information.
  2. After making changes, the updated information should be displayed or removed from the application.
  3. Users accessing the platform should see the most recent, active, and accurate playground details.
  4. Any changes made by administrators should be tracked and documented for reference.

Unreachable code - sentry-example-api/route.js

Unreachable code.
All code should be reachable [javascript:S1763]
src/app/api/sentry-example-api/route.js

import { NextResponse } from "next/server";
export const dynamic = "force-dynamic";
// A faulty API route to test Sentry's error monitoring
export function GET() {
throw new Error("Sentry Example API Route Error");
return NextResponse.json({ data: "Testing Sentry Error..." });
Unreachable code.
}

share playground information

User Story
As an administrator, I want to share playground information with other parents to use.

Acceptance Criteria
Given that I am an administrator wanting to share playground information, when I create an entry, then I should be able to publish it to the app.

  1. The system should provide a blog creation interface within the administrator's dashboard.
  2. Administrators should be able to input relevant information about the playground, including its name, location, facilities, and any additional useful details.
  3. Administrators should be able to format and structure the blog post, including adding text, images, and links.
  4. Once the blog post is created, administrators should be able to publish it.
  5. The published blog post should be accessible to other parents using the application

find playgrounds for my family

User Story
As a parent, I want to find playgrounds for my family quickly based on criteria like appropriate options or playground surface type.

Acceptance Criteria
Given that I am a parent finding for a playground, when I perform a filter using the predefined critera, then I should receive relevant results based on my filter options.

  1. The filter functionality should be easily accessible from the main interface.
  2. Users should be able to enter filter by such as location, age range, surface area, and ada compliance.
  3. The filter results should include playgrounds that match the filter criteria.
  4. The results should be displayed in an organized and easily readable format.
  5. Users should be able to click on a result to access more detailed information about the playground.

Access playground information

User Story
As a parent, I want to access playground information to discover suitable options for my family.

Acceptance Criteria
Given that I am a parent looking for playgrounds, when I access the playground information, then I should be able to view a list of playgrounds in my area with details such as location, facilities, and rating.

  1. The system should display a user-friendly interface for accessing playground information.
  2. Users should be able to easily browse and filter the list of playgrounds.
  3. The playground information should be categorized by location, age range, rating, and playground surfaces.
  4. Each playground entry should include details, including its name, address, age range, shade, and other relevant information.

Dockerfile - Make sure no write permissions are assigned to the executable.

Make sure no write permissions are assigned to the executable.

COPY --from=builder /app/next.config.mjs ./
COPY --from=builder /app/public ./public
COPY --from=builder /app/package.json ./package.json
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
// Make sure no write permissions are assigned to the executable.
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
USER nextjs
EXPOSE 3000
ENV PORT 3000

Exploit vulnerabilities in the filter feature

Mis-user Story 1
As a hacker, I want to exploit vulnerabilities in the filter feature to gain unauthorized access to the backend system.

Mitigation Criteria 1

  • Regularly conduct security assessments, including penetration testing and vulnerability using tools such as OWASP ZAP and SonarQube.
  • Implement strong access controls and authentication mechanisms to prevent unauthorized access to data.
  • Maintain audit logs to capture details of access attempts, user activities, and system changes.

Accidentally delete or update playground information

Mis-user Story 2
As an administrator, I accidentally delete or update playground information to provide incorrect details.

Mitigation Criteria 2

  • Implement a content log that records all changes made by administrators, making it possible to track and reverse unauthorized modifications.
  • Maintain a robust data recovery and backup system to ensure that data can be restored in the event of accidental deletion or modification.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.