Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyPark20 committed Feb 1, 2021
0 parents commit 247a32d
Show file tree
Hide file tree
Showing 21 changed files with 10,567 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PORT=3001
DEV_SERVER_PORT=3000
TOKEN_SECRET=changeMe
DATABASE_URL=postgres://dev:lfz@localhost/changeMe
68 changes: 68 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"root": true,
"env": {
"node": true,
"browser": true
},
"parser": "babel-eslint",
"extends": [
"plugin:react/recommended",
"eslint:recommended",
"standard"
],
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"semi": [
"error",
"always"
],
"padded-blocks": 0,
"arrow-parens": [
"error",
"as-needed"
],
"curly": [
"error",
"multi-line"
],
"no-console": [
"error",
{
"allow": [
"warn",
"error"
]
}
],
"space-before-function-paren": [
"error",
{
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}
]
},
"overrides": [
{
"files": [
"**/*.jsx"
],
"rules": {
"react/prop-types": 0
}
},
{
"files": [
"**/*.html"
],
"plugins": [
"eslint-plugin-html"
]
}
]
}
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
server/public/main.js*
node_modules
.DS_Store
.vscode
*.log
.env
9 changes: 9 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": [
"stylelint-config-recommended",
"stylelint-config-standard"
],
"rules": {
"no-empty-source": null
}
}
2 changes: 2 additions & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
release: npm run db:import
web: npm start
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# final-project

A full stack JavaScript solo project.
8 changes: 8 additions & 0 deletions client/app.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import React from 'react';
import Home from './pages/home';

export default class App extends React.Component {
render() {
return <Home />;
}
}
8 changes: 8 additions & 0 deletions client/index.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import React from 'react';
import ReactDOM from 'react-dom';
import App from './app';

ReactDOM.render(
<App />,
document.querySelector('#root')
);
8 changes: 8 additions & 0 deletions client/pages/home.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import React from 'react';

export default function Home(props) {
return (
<>
</>
);
}
Empty file added database/data.sql
Empty file.
7 changes: 7 additions & 0 deletions database/schema.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
set client_min_messages to warning;

-- DANGER: this is NOT how to do it in the real world.
-- `drop schema` INSTANTLY ERASES EVERYTHING.
drop schema "public" cascade;

create schema "public";
9 changes: 9 additions & 0 deletions nodemon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"watch": [
".env",
"server/"
],
"ignore": [
"server/public/"
]
}
Loading

0 comments on commit 247a32d

Please sign in to comment.