Skip to content

Commit

Permalink
Merge pull request sade-spread-ops#8 from royce-reed/seed-db
Browse files Browse the repository at this point in the history
FIXED seed function
  • Loading branch information
royce-reed authored May 23, 2022
2 parents e4b3e20 + 28b3d69 commit 8bfb291
Show file tree
Hide file tree
Showing 8 changed files with 2,353 additions and 253 deletions.
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# client/dist/bundle.js

.env
node_modules
client/dist/bundles.js
client/dist/bundles.js.map
client/dist/bundles.js.map
client/config/keys.js
package-lock.json
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
# immersion-2022-05-homemade
# immersion-2022-05-homemade

### how to create and seed db
$ npm install sequelize-cli -g
$ sequelize db:create
$ sequelize db:migrate
$ sequelize db:seed --seed 20220523041332-users-seeder.js
26 changes: 2 additions & 24 deletions client/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,30 +51,8 @@ const Navbar = () => {
>
<MenuIcon />
</IconButton>
<Menu
id="menu-appbar"
anchorEl={anchorElNav}
anchorOrigin={{
vertical: 'bottom',
horizontal: 'left',
}}
keepMounted
transformOrigin={{
vertical: 'top',
horizontal: 'left',
}}
open={Boolean(anchorElNav)}
onClose={handleCloseNavMenu}
sx={{
display: { xs: 'block', md: 'none' },
}}
>
{pages.map((page) => (
<MenuItem key={page} onClick={handleCloseNavMenu}>
<Typography textAlign="center">{page}</Typography>
</MenuItem>
))}
</Menu>


</Box>
<HomeIcon sx={{ display: { xs: 'flex', md: 'none' }, mr: 1 }} />
<Typography
Expand Down
Loading

0 comments on commit 8bfb291

Please sign in to comment.