Posts

MERN App

rest api react node mongo express front end App.js import React from 'react' ; import "bootstrap/dist/css/bootstrap.min.css" import {BrowserRouter as Router , Route , Link} from "react-router-dom" ; import './App.css' ; import ViewCourse from "./Component/viewCourse" ; import EditCourse from "./Component/editCourse" ; import AddCourse from "./Component/addCourse" ; import DeleteCourse from "./Component/deleteCourse" ; class App extends React.Component{ render () { return ( <div style = {{ background : 'grey' , height : '752px' , position : 'relative' }} > <Router> <div className ="App" ><br/> <h1> Online Course </h1> <Link to ="/" > Courses </Link> <Link to ="/create" > Add Course &l