Skip to content

hashika2/MovieList_Proj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MovieList_Proj

movie application

Fontend

Create React App Build Status PRs Welcome Logo

Create React apps with no build configuration.

Creating an App – How to create a new app. User Guide – How to develop apps bootstrapped with Create React App. Create React App works on macOS, Windows, and Linux. If something doesn’t work, please file an issue. If you have questions or need help, please ask in GitHub Discussions.

Quick Overview npx create-react-app movie-font cd movie-font npm start If you've previously installed create-react-app globally via npm install -g create-react-app, we recommend you uninstall the package using npm uninstall -g create-react-app or yarn global remove create-react-app to ensure that npx always uses the latest version.

(npx comes with npm 5.2+ and higher, see instructions for older npm versions)

Then open http://localhost:3000/ to see your app. When you’re ready to deploy to production, create a minified bundle with npm run build.

Backend

Setup Setting up a new project is quite simple with the Nest CLI. With npm installed, you can create a new Nest project with the following commands in your OS terminal:

$ npm i -g @nestjs/cli $ nest new project-name info Hint To create a new project with TypeScript's strict mode enabled, pass the --strict flag to the nest new command.

The project-name directory will be created, node modules and a few other boilerplate files will be installed, and a src/ directory will be created and populated with several core files.

src app.controller.spec.ts app.controller.ts app.module.ts app.service.ts main.ts

Running the application Once the installation process is complete, you can run the following command at your OS command prompt to start the application listening for inbound HTTP requests:

$ npm run start This command starts the app with the HTTP server listening on the port defined in the src/main.ts file. Once the application is running, open your browser and navigate to http://localhost:3000/. You should see the Hello World! message.

To watch for changes in your files, you can run the following command to start the application:

$ npm run start:dev This command will watch your files, automatically recompiling and reloading the server.

Database(MYSQL)

Installation of typeOrm

Install the npm package:

npm install typeorm mysql2 --save

import { TypeOrmModule } from '@nestjs/typeorm';

database connection

TypeOrmModule.forRoot({ type: 'mysql', host: 'localhost', port: 3306, username: 'root', password: 'admin', database: 'movie', entities: entities, synchronize: true, }),

About

movie application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published