Skip to content

Commit

Permalink
done
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1479 committed Dec 13, 2023
1 parent 54b68f4 commit f58b392
Show file tree
Hide file tree
Showing 124 changed files with 5,028 additions and 4,124 deletions.
3 changes: 3 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const express = require('express');
const app = express();
const fs = require('fs');
const cors = require('cors')

const bookingsFile = './client/Data/bookings.json';
const currentFilmsFile = './client/Data/currentFilms.json';
Expand All @@ -11,6 +12,8 @@ app.use(express.json());
const path = require('path');
app.use(express.static(path.join(__dirname, 'client')));

app.use(cors())

const bookings = require(bookingsFile);
const currentFilms = require(currentFilmsFile);
const reruns = require(rerunsFile);
Expand Down
95 changes: 67 additions & 28 deletions node_modules/.package-lock.json

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

3 changes: 3 additions & 0 deletions node_modules/nodemon/.prettierrc.json

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

Loading

0 comments on commit f58b392

Please sign in to comment.