mirror of
https://github.com/filiprojek/nork.git
synced 2025-02-20 01:22:58 +01:00
Remove ignored files
This commit is contained in:
@ -1,6 +0,0 @@
|
||||
import { Request, Response } from 'express'
|
||||
|
||||
export const root_get = (req: Request, res: Response) => {
|
||||
res.render('home')
|
||||
return true
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
export interface interfaceName {
|
||||
hello: string
|
||||
world: boolean | null | undefined
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
import { Router, Request, Response, NextFunction } from 'express'
|
||||
|
||||
export const router = Router()
|
||||
|
||||
router.use((req: Request, res: Response, next: NextFunction) => {
|
||||
console.log('Hi :)')
|
||||
next()
|
||||
})
|
@ -1,15 +0,0 @@
|
||||
import { Schema, model } from 'mongoose'
|
||||
|
||||
const modelSchema = new Schema<any>(
|
||||
{
|
||||
title: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
timestamps: true,
|
||||
},
|
||||
)
|
||||
|
||||
export default model('ModelName', modelSchema)
|
@ -1,6 +0,0 @@
|
||||
import { Router } from 'express'
|
||||
import * as rootController from '@/controllers/rootController'
|
||||
|
||||
export const router = Router()
|
||||
|
||||
router.get('/', rootController.root_get)
|
@ -1,3 +0,0 @@
|
||||
export function helloWorld() {
|
||||
console.log('hello world')
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>New Project</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user