We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 565fcad commit b800755Copy full SHA for b800755
src/config/config.js
@@ -0,0 +1,7 @@
1
+import dotenv from 'dotenv';
2
+dotenv.config();
3
+
4
+export const config = {
5
+ port: process.env.PORT || 3000,
6
+ dbUri: process.env.DB_URI
7
+};
src/server.js
src/utils/generateCode.js
@@ -0,0 +1,3 @@
+export const generateUniqueCode = () => {
+ return 'UNIQUE-CODE-123';
0 commit comments