Move JS files to src since tsc compiles both Node and React.
This commit is contained in:
15
src/index.tsx
Normal file
15
src/index.tsx
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
// Date: 2023-03-07
|
||||
// Developer: Hyperling
|
||||
// Purpose: Provide a UI for folks to log a food diary, providing a simple way
|
||||
// to enter the data and an easy way to filter/sort what caused issues.
|
||||
// Resources: Most helpful tutorials when learning Typescript and React.
|
||||
// https://blog.logrocket.com/how-use-typescript-react-tutorial-examples/
|
||||
*/
|
||||
|
||||
// Attach all the needed helpers.
|
||||
import "src/includes.ts";
|
||||
|
||||
/* Main, UI */
|
||||
|
||||
|
15
src/server.js
Normal file
15
src/server.js
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
// Date: 2023-03-07
|
||||
// Developer: Hyperling
|
||||
// Purpose: Provide an API for the UI to hit, decoupling the DB code.
|
||||
*/
|
||||
"use strict";
|
||||
|
||||
/* DB Setup */
|
||||
|
||||
|
||||
/* Test Code */
|
||||
// Just playing with the DB until learning React.
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user