Skip to content

Commit

Permalink
Config vercel and update to monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
karlosvas committed Jan 12, 2025
1 parent 3fbd64e commit fb18f19
Show file tree
Hide file tree
Showing 6 changed files with 395 additions and 17 deletions.
337 changes: 337 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "thefluentspanishhouse",
"version": "1.0.0",
"description": "Welcome to the official website of Marta, your trusted Spanish teacher. Here you'll find all the necessary information about her classes, prices, and teaching methods. \r **Official URL: https://thefluentspanishhouse.com**",
"scripts": {
"dev": "concurrently \"npm run dev --prefix client\" \"npm run dev --prefix server\""
},
"keywords": [
"Spanish",
"teacher",
"classes",
"prices",
"methods"
],
"author": "karlosvas",
"devDependencies": {
"concurrently": "^9.1.2"
},
"licenses": [
{
"type": "GNU",
"url": "https://www.gnu.org/licenses/gpl-3.0.html"
}
]
}
6 changes: 3 additions & 3 deletions server/src/index.ts → server/index.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import dotenv from "dotenv";
dotenv.config();
///////////////////////////////////////////
import { connectDB } from "./mongodb/mongodb.js";
import { connectDB } from "./src/mongodb/mongodb.js";
import express from "express";
import cors from "cors";
import { router } from "../routes/routes.js";
import { router } from "./routes/routes.js";
import net from "net";
import admin from "../lib/firebase/firebase-config.js";
import admin from "./lib/firebase/firebase-config.js";

// Extendemos el límite para que pueda almacenar imagenes en base64
async function inicializeApp() {
Expand Down
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "module",
"main": "index.ts",
"scripts": {
"start": "npm run build && node dist/src/index.js",
"start": "npm run build && node dist/index.js",
"dev": "node --loader ts-node/esm src/index.js",
"test": "npm run build && playwright test",
"build": "tsc"
Expand Down
Loading

0 comments on commit fb18f19

Please sign in to comment.