Skip to content

ratchadj/duck-fed

Repository files navigation

Duck Fed System

Description

Research Duck Fed System using NextJS Framework Design Document

Getting Started

Dependencies

  • material-ui
  • nextjs
  • mongoose

Installing

  1. Clone the repo
    git clone https://github.com/ratchadj/duck-fed.git
  2. Rename .env.local.example to be .env.local and edit information in file
     MONGODB_URI=
     GOOGLE_MAP_KEY=
  3. Start container
    cd duck-fed
    docker-compose up -d
  4. Go to http://localhost:3000

Executing program

  • Development
for running: docker-compose up -d
for accress container: docker container exec -it duck-fed sh
  • Build
docker-compose build

Authors

Contributors names and contact info

@ratchada-jududom

Roadmap

  • Functional Requirement
  • Caching REST API e.g. HTTP response headers (Cache-Control)
  • End to End Testing
  • Scalable web application
  • Security scan
  • Deployment script

Architectural design

NextJS - Builds on top of React. It's easy one to work with dynamic route, data fetching, layouts, image optimizing, SEO etc. Learn more

NextJS API - Our website is a simple request server-side to retrieve data. NextJS helps us to easily develop. Able to deploy as serverless functions with AWS easily. Learn more

Mongo DB - RDBMS is a good one but has difficulties scaling with sharding. For saving a lot of research data. I think NOSQL is more suitable. That's why I use document stores - MongDB with flexible schemas. Learn more

REST API - Even Though REST API has fixed data structures. It's not flexible like GraphQL. But our web application is less data structures. Lest API endpoint. I think REST API is Easy to understand and implement. Learn more

Version History

  • 0.1
    • Initial Release

About

system for getting duck fed information

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published