generated from lucien/api-template
Created two API endpoints.
This commit is contained in:
parent
00e78c2dff
commit
8a61aaa68f
8 changed files with 854 additions and 203 deletions
1
index.js
1
index.js
|
@ -4,6 +4,7 @@ const path = require("path");
|
|||
const config = require("./config");
|
||||
const cookieParser = require("cookie-parser");
|
||||
const cors = require("cors");
|
||||
require("dotenv").config()
|
||||
|
||||
const app = express();
|
||||
const port = config.port || 3000;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue