-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cleaning boilerplate #212
base: develop
Are you sure you want to change the base?
cleaning boilerplate #212
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems everything is cleaned, except src\server\seeds\development\modules.js and we are using Profile.container in our PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a problem when I run dev ... it toggle between /sign-up and /profile
src/client/App.js
Outdated
@@ -2,11 +2,10 @@ import React from 'react'; | |||
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom'; | |||
import { useAuthentication } from './hooks/useAuthentication'; | |||
import LandingPage from './containers/LandingPage/LandingPage.container'; | |||
import SignIn from './containers/SignIn'; | |||
import SignUp from './containers/SignUp'; | |||
import CreateAccountPage from './containers/CreateAccountPage'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to add the right path for me it doesn't compile you need to add something like this: import CreateAccountPage from './containers/CreateAccountPage/CreateAccountPage.Container';
src/client/App.js
Outdated
import ResetPassword from './containers/ResetPassword'; | ||
import AuthenticatedRoute from './components/Auth/AuthenticatedRoute'; | ||
import Profile from './containers/Profile'; | ||
import UserProfilePage from './containers/UserProfilePage'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here it doesn't compile use :
import UserProfilePage from './containers/UserProfilePage/UserProfilePage.Container';
src/client/App.js
Outdated
@@ -53,15 +52,14 @@ function App() { | |||
</Route> | |||
|
|||
{/* Anonymous pages */} | |||
<SignIn exact path="/sign-in" /> | |||
<SignUp exact path="/sign-up" /> | |||
<CreateAccountPage exact path="/sign-up" /> | |||
<ResetPassword exact path="/reset-password" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you deleted the container for ResetPassword you need to remove this line also.
src/client/App.js
Outdated
@@ -2,11 +2,10 @@ import React from 'react'; | |||
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom'; | |||
import { useAuthentication } from './hooks/useAuthentication'; | |||
import LandingPage from './containers/LandingPage/LandingPage.container'; | |||
import SignIn from './containers/SignIn'; | |||
import SignUp from './containers/SignUp'; | |||
import CreateAccountPage from './containers/CreateAccountPage'; | |||
import ResetPassword from './containers/ResetPassword'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you deleted the container for ResetPassword you need to remove this line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because you removed module.router and module.controler you need to remove from api-router.js the corresponding lines. Because the db is crashing ....
…ass19 into feature/clean_boilerplate
Description
I removed
Frontend
src/client/containers/Home/
src/client/components/Sample/
src/client/containers/Profile/
src/client/containers/SignIn/
src/client/containers/SignUp/
src/client/containers/ResetPassword/
Backend
src/server/api/controllers/modules.controller.js
src/server/api/routes/modules.router.js
Databases
src/server/migrations/20200510015322_create_modules_schema.js
Fixes # (208)
##How to test?
git pull origin develop
Checklist