Skip to content

Nodejs #12

Open
Open
@eduv2-prod

Description

Task Create an API that uses the file system as a database
Conditions Nodejs and Nextjs are installed and configured
Standards In your folder create a file that will be your "database" name it with the file extension .json. In the pages/api folder have the following:
  • 1 file that reads and returns the state of the database.
  • 1 file that can delete data in the database.
  • 1 file that can create/update data in the database

Notes

  • Recommend using fs/promises API as it's simpler than the callbacks API

References

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions