Skip to content

Commit

Permalink
Integrate python api (#12)
Browse files Browse the repository at this point in the history
* Remove supabase and add signup & signin with python api

* Logout

* Create api key

* Show api key

* Merge branch 'preview' of github.com:squaredev-io/squaredev into integrate-python-api

* Add projects list component

* Fix build
  • Loading branch information
gcharis authored Nov 29, 2023
1 parent 7a0dd0e commit 0ceaad6
Show file tree
Hide file tree
Showing 22 changed files with 638 additions and 1,460 deletions.
8 changes: 0 additions & 8 deletions cypress.config.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
import { defineConfig } from 'cypress';
import { supabaseExecute } from './src/lib/public-api/database';

export default defineConfig({
env: {
database_url: 'postgresql://postgres:postgres@localhost:54322/postgres',
},
e2e: {
baseUrl: 'http://localhost:3000',
setupNodeEvents(on, config) {
// implement node event listeners here

on('task', {
supabaseExecute: supabaseExecute,
});
},
},
});
14 changes: 0 additions & 14 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,6 @@ const nextConfig = {
bodySizeLimit: '2mb',
},
},
redirects() {
return [
{
source: '/',
destination: '/dashboard/projects',
permanent: true,
},
{
source: '/dashboard',
destination: '/dashboard/projects',
permanent: true,
},
];
},
};

module.exports = nextConfig;
Loading

0 comments on commit 0ceaad6

Please sign in to comment.