Generated App Intro
$ ./CSV_App app
$ cd app && ./setup.sh
# modify .env and start the server
$ ./app
- This generates a standalone app in
./app
directory - Checkout the sample app here
- It is a standalone app, it runs on its own
- Remember to modify the .env file and rebuild the app before starting the server
-
For each table, there are five API routes:
POST /tableName
- insert a single rowGET /tableName
- get all rows with filtering, sorting and pagination enabledGET /tableNameByPK
- get single row by primary keyPUT /tableName
- update single row by primary keyDELETE /tableName
- delete single row by primary key
-
Each API response has following structure in JSON format:
Field Description success boolean flag message string message data object for GET routes, null for others -
Checkout the sample Postman collection here