Coder Social home page Coder Social logo

hackable's Introduction

Uptownhr Monorepo

This is a monorepo with NX for with the following projects

  • uptownhr.com - astro.build website

Starting development for website

  1. yarn
  2. yarn nx dev website

Starting Backend Development

  1. yarn
  2. yarn backend

NX Cheat Sheat

  • Create a new astro app nx g @nxtensions/astro:app {name}
  • Generate Prisma client for app nx g @nx-tools/nx-prisma:generate {name}

Todo

  • Deployment pipeline

hackable's People

Contributors

ibanzajoe avatar mochacat avatar uptownhr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hackable's Issues

Setup demo site

  • figure out branding: hackable. domain will be hackable.penguin.ws
  • update project description
  • update info on application
  • launch on server

Post touchups

Post

  • add hr line break between post editable area and preview
  • post list and post view, only show where status is launched @ /blog/ & /blog/post/:id

make Search functional on all list views.

add jquery script to the layout for all admin pages.

  • script should listen on the 'input.search' css selector for the 'enter' keypress button.
  • When the keypress is detected, redirect browser to the same model page with query param set.
  • In the express route, use the query param to make adjustment to result

use right bar to display uploaded images/files

when user drags and drops file to the admin

  • the right navbar should toggle on
  • display the newly uploaded files.
  • if the uploaded file is an image, display the image
  • selecting the image should copy the public image url to the clipboard

Create admin crud called projects

models/Project.js

name: String,
tag_line: String,
description: String
logo_url: String
created_at: Date, Default: Now

Create this model and the admin pages to List, View, Edit and Add Projects.

Routes should be

  • GET /admin/projects -> List projects
  • GET /admin/project -> New Project
  • GET /admin/project/:id -> View/Edit
  • POST /admin/project/:id -> For adding or updating

Ability to Link additional oauth accounts

From the my accounts page, use should be able to link and unlink social accounts to the single user.

  • Display available oauth providers
  • Ability to Link
  • Ability to Unlink
  • Show status of provider, Linked or Unlinked
  • If oauth login has already been linked, deny linking. Show error, this already linked.

Add ability to connect stripe

Not really a connect feature right now. Let's use these keys to populate the products with a buy button provided by stripe.

sk_test_9yjqifpcg5f0PlJDEIHQWGRm
pk_test_8iCRH4xJXGEWYt4DkbECYDM8

Using the products collection, lets list the products on the homepage with a buy button from stripe

create a my account page

this is currently pointing to /user/account

This is probably going to mean we need a user controller and bound to a new main route on index.js

app.use('/user', controllers.User)

GET Admin Unit Tests 200

  • /admin/user
  • /admin/user/:id
  • /admin/post
  • /admin/post/:id
  • /admin/project
  • /admin/project/:id
  • /admin/product
  • /admin/product/:id
  • /admin/file
  • /admin/file/:id

Product touchups

Product

  • replace image_url as image and display image in table. place as first column

GET 200 Auth Tests

  • /auth/logout -> expect 302
  • /auth/o/testing -> expect 302
  • /auth/o/twitter -> expect 302
  • /auth/o/testing/callback -> expect 302
  • /auth/o/twitter/callback -> expect 302

Get Account/unlink/:provider

  • /user/account/unlink/testing -> expect 302
  • /user/account/unlink/mock_provider -> expect 302 && mock_provider no longer exists in users

GET Unit test blog post entry

This is for the public /blog/post/:id route. Write test to expect a 200 response given that the post id exists.

To test, you will have to create a Post record in the db using the model before performing to get request.

Project touchups

Project

  • remove project_url from Projects listing view
  • display project logo in Projects listing view, first columns
  • remove description in Projects listing view

ES6

Update code to use es6 syntax and using AirBnb style guide

Dennis

  • Controller files

James

  • model files

list of general touch ups

  • remove settings in admin navigation
  • remove profile image display in /admin/user/:id
  • use Created for Date header in Listing views
  • Upcase first character in all header in Listing views
  • label Actions as header in Listing views
  • remove left navigation search below admin title

Update Instragram Application Setting

Currently attempting to login with a user returns.

{
"code": 403,
"error_type": "OAuthForbiddenException",
"error_message": "You are not a sandbox user of this client"
}

I believe this is due to the application being in the sandbox state and I am not an authorized user for the application. We need to allow any users login and I think we have two options.

  1. Remove sandbox mode, and put in live state.
  2. Check if we can allow all users under sandbox mode.

So if option 2 is not possible, lets use option 1.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.